Class: Evernote::NoteStore

Inherits:
Object
  • Object
show all
Defined in:
lib/evernote/note_store.rb

Instance Method Summary collapse

Constructor Details

#initialize(uri, thrift_client_options = {}) ⇒ NoteStore

Returns a new instance of NoteStore.



3
4
5
# File 'lib/evernote/note_store.rb', line 3

def initialize(uri, thrift_client_options = {})
  @client = Evernote::Client.new(Evernote::EDAM::NoteStore::NoteStore::Client, uri, thrift_client_options)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args, &block) ⇒ Object



7
8
9
# File 'lib/evernote/note_store.rb', line 7

def method_missing(name, *args, &block)
  @client.send(name, *args, &block)
end