Class: Cloudmine::Base
- Inherits:
-
Object
- Object
- Cloudmine::Base
- Includes:
- HTTParty
- Defined in:
- lib/cloudmine/base.rb
Direct Known Subclasses
Class Attribute Summary collapse
-
.api_key ⇒ Object
Returns the value of attribute api_key.
-
.app_id ⇒ Object
Returns the value of attribute app_id.
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#app_id ⇒ Object
Returns the value of attribute app_id.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(api_key, app_id) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(api_key, app_id) ⇒ Base
Returns a new instance of Base.
26 27 28 29 |
# File 'lib/cloudmine/base.rb', line 26 def initialize(api_key, app_id) self.api_key = api_key self.app_id = app_id end |
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
32 33 34 |
# File 'lib/cloudmine/base.rb', line 32 def api_key @api_key end |
.app_id ⇒ Object
Returns the value of attribute app_id.
32 33 34 |
# File 'lib/cloudmine/base.rb', line 32 def app_id @app_id end |