Skip to content

Error when trying to write #42

@eumelz

Description

@eumelz

Every time I try to write or do anything else than just reading Blocks terminal tells me that the method I'm trying to use doesn't exist. I have no Idea how to fix this, pls help! I'm quiet shit at coding though..

3.0.0 :095 > @page.title
 => "Telegram Test" 
3.0.0 :096"> @page.title = "hey!"
Traceback (most recent call last):
        4: from /Users/eumel/.rvm/rubies/ruby-3.0.0/bin/irb:23:in `<main>'
        3: from /Users/eumel/.rvm/rubies/ruby-3.0.0/bin/irb:23:in `load'
        2: from /Users/eumel/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/irb-1.3.0/exe/irb:11:in `<top (required)>'
        1: from (irb):96:in `<main>'
NoMethodError (undefined method `title=' for #<NotionAPI::CollectionViewPage:0x00007ff141146308 @id="97967408-8a83-406c-8afe-32a1879ec3f4", @title="Telegram Test", @parent_id="bee0d234-4086-483d-9b1e-e1706ffccf5a", @collection_id="6cf1d6bf-a38d-433a-b203-330e3ab48337", @view_id="66f62fd8-86f9-4141-987a-767763fff159", @column_names=["Tags", "Name"]>)
Did you mean?  title
3.0.0 :097 > 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions