Class: CryptomateApi::Configuration
- Inherits:
-
Object
- Object
- CryptomateApi::Configuration
- Defined in:
- lib/cryptomate_api/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#base_uri ⇒ Object
Returns the value of attribute base_uri.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
16 17 18 19 |
# File 'lib/cryptomate_api/configuration.rb', line 16 def initialize @api_key = nil @base_uri = 'https://cryptomate.me/api' end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
14 15 16 |
# File 'lib/cryptomate_api/configuration.rb', line 14 def api_key @api_key end |
#base_uri ⇒ Object
Returns the value of attribute base_uri.
14 15 16 |
# File 'lib/cryptomate_api/configuration.rb', line 14 def base_uri @base_uri end |