Class: Evernotable::Client::Base
- Inherits:
-
Object
- Object
- Evernotable::Client::Base
- Defined in:
- lib/evernotable/client/base.rb
Instance Attribute Summary collapse
-
#client_token ⇒ Object
readonly
Returns the value of attribute client_token.
-
#current_user ⇒ Object
readonly
Returns the value of attribute current_user.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(params = {}) ⇒ Base
Returns a new instance of Base.
9 10 11 12 13 14 |
# File 'lib/evernotable/client/base.rb', line 9 def initialize(params={}) @config = params[:config] || nil @env = params[:env] @current_user = params[:current_user] || nil @client_token = params[:client_token] || nil end |
Instance Attribute Details
#client_token ⇒ Object
Returns the value of attribute client_token.
7 8 9 |
# File 'lib/evernotable/client/base.rb', line 7 def client_token @client_token end |
#current_user ⇒ Object
Returns the value of attribute current_user.
6 7 8 |
# File 'lib/evernotable/client/base.rb', line 6 def current_user @current_user end |