Method: Evernotable::Client::Note#add_notebook

Defined in:
lib/evernotable/client/note.rb

#add_notebookObject



16
17
18
19
20
# File 'lib/evernotable/client/note.rb', line 16

def add_notebook
  wrap_method('attempt to create new notebook') do |client_token| 
    @notebook_guid = @instance.createNotebook(client_token, Evernote::EDAM::Type::Notebook.new({:name => @notebook_name})).guid 
  end
end