Class: EvernoteOAuth::UserStore::Store
- Inherits:
-
Object
- Object
- EvernoteOAuth::UserStore::Store
- Includes:
- ThriftClientDelegation
- Defined in:
- lib/evernote_oauth/user_store.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Store
constructor
A new instance of Store.
- #version_valid? ⇒ Boolean
Methods included from ThriftClientDelegation
Constructor Details
#initialize(options = {}) ⇒ Store
Returns a new instance of Store.
19 20 21 22 23 |
# File 'lib/evernote_oauth/user_store.rb', line 19 def initialize(={}) @token = [:token] @client = [:client] raise 'API version is not up to date' unless version_valid? end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class EvernoteOAuth::ThriftClientDelegation
Instance Method Details
#version_valid? ⇒ Boolean
25 26 27 28 29 |
# File 'lib/evernote_oauth/user_store.rb', line 25 def version_valid? checkVersion("EDAMTest", ::Evernote::EDAM::UserStore::EDAM_VERSION_MAJOR, ::Evernote::EDAM::UserStore::EDAM_VERSION_MINOR) end |