Class: EvernoteOAuth::SharedNoteStore::Store
- Inherits:
-
Object
- Object
- EvernoteOAuth::SharedNoteStore::Store
- Includes:
- ThriftClientDelegation
- Defined in:
- lib/evernote_oauth/shared_note_store.rb
Instance Attribute Summary collapse
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Store
constructor
A new instance of Store.
Methods included from ThriftClientDelegation
Constructor Details
#initialize(options = {}) ⇒ Store
Returns a new instance of Store.
22 23 24 25 26 27 |
# File 'lib/evernote_oauth/shared_note_store.rb', line 22 def initialize(={}) @linked_notebook = [:linked_notebook] @client = [:client] @token = authenticateToSharedNotebook(@linked_notebook.shareKey, [:token]).authenticationToken end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class EvernoteOAuth::ThriftClientDelegation
Instance Attribute Details
#token ⇒ Object (readonly)
Returns the value of attribute token.
20 21 22 |
# File 'lib/evernote_oauth/shared_note_store.rb', line 20 def token @token end |