Class: DaashubAPI::Client

Inherits:
Object
  • Object
show all
Includes:
REST::Account, REST::BatchFile, REST::Company, REST::History
Defined in:
lib/daashub_api/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from REST::History

#requests

Methods included from REST::Company

#companies

Methods included from REST::BatchFile

#create_batch_file, #list_batch_files

Methods included from REST::Account

#account_info

Constructor Details

#initialize(access_token) ⇒ Client

Returns a new instance of Client.



15
16
17
# File 'lib/daashub_api/client.rb', line 15

def initialize(access_token)
  @access_token = access_token
end

Instance Attribute Details

#access_tokenObject (readonly)

Returns the value of attribute access_token.



13
14
15
# File 'lib/daashub_api/client.rb', line 13

def access_token
  @access_token
end