Class: DaashubAPI::Client
- Inherits:
-
Object
- Object
- DaashubAPI::Client
- Includes:
- REST::Account, REST::BatchFile, REST::Company, REST::History
- Defined in:
- lib/daashub_api/client.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
readonly
Returns the value of attribute access_token.
Instance Method Summary collapse
-
#initialize(access_token) ⇒ Client
constructor
A new instance of Client.
Methods included from REST::History
Methods included from REST::Company
Methods included from REST::BatchFile
#create_batch_file, #list_batch_files
Methods included from REST::Account
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_token ⇒ Object (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 |