Class: DaashubAPI::Client
- Inherits:
-
Object
- Object
- DaashubAPI::Client
- Includes:
- REST::Account, 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::Account
Constructor Details
#initialize(access_token) ⇒ Client
Returns a new instance of Client.
13 14 15 |
# File 'lib/daashub_api/client.rb', line 13 def initialize(access_token) @access_token = access_token end |
Instance Attribute Details
#access_token ⇒ Object (readonly)
Returns the value of attribute access_token.
11 12 13 |
# File 'lib/daashub_api/client.rb', line 11 def access_token @access_token end |