Class: Cumulus::Client
- Inherits:
-
Object
- Object
- Cumulus::Client
- Defined in:
- lib/cumulus/client.rb
Constant Summary collapse
- API_URL =
'https://api-cumulus.com'
Instance Attribute Summary collapse
-
#request(type, path, params = {}) ⇒ Object
Returns the value of attribute request.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
11 12 13 |
# File 'lib/cumulus/client.rb', line 11 def initialize(={}) @token = [:token] end |
Instance Attribute Details
#request(type, path, params = {}) ⇒ Object
Returns the value of attribute request.
7 8 9 |
# File 'lib/cumulus/client.rb', line 7 def request @request end |