Class: Evernotable::Client::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/evernotable/client/base.rb

Direct Known Subclasses

Note, User

Instance Attribute Summary collapse

Instance Method Summary collapse

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_tokenObject

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_userObject

Returns the value of attribute current_user.



6
7
8
# File 'lib/evernotable/client/base.rb', line 6

def current_user
  @current_user
end