Class: K2e::EvernoteClient
- Inherits:
-
Object
- Object
- K2e::EvernoteClient
- Defined in:
- lib/k2e/evernote.rb
Instance Attribute Summary collapse
-
#note_store ⇒ Object
readonly
Returns the value of attribute note_store.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize ⇒ EvernoteClient
constructor
A new instance of EvernoteClient.
Constructor Details
#initialize ⇒ EvernoteClient
Returns a new instance of EvernoteClient.
10 11 12 13 |
# File 'lib/k2e/evernote.rb', line 10 def initialize @token = ENV["EVERNOTE_DEV_TOKEN"] @note_store = ::EvernoteOAuth::Client.new(token: @token, sandbox: false).note_store end |
Instance Attribute Details
#note_store ⇒ Object (readonly)
Returns the value of attribute note_store.
8 9 10 |
# File 'lib/k2e/evernote.rb', line 8 def note_store @note_store end |
#token ⇒ Object (readonly)
Returns the value of attribute token.
8 9 10 |
# File 'lib/k2e/evernote.rb', line 8 def token @token end |