Class: Bitbond::Configuration
- Inherits:
-
Object
- Object
- Bitbond::Configuration
- Defined in:
- lib/bitbond/configuration.rb
Instance Attribute Summary collapse
-
#api_host ⇒ Object
Returns the value of attribute api_host.
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 |
# File 'lib/bitbond/configuration.rb', line 5 def initialize @api_host ||= "https://www.bitbond.com/api/v1" end |
Instance Attribute Details
#api_host ⇒ Object
Returns the value of attribute api_host.
3 4 5 |
# File 'lib/bitbond/configuration.rb', line 3 def api_host @api_host end |
#app_id ⇒ Object
Returns the value of attribute app_id.
3 4 5 |
# File 'lib/bitbond/configuration.rb', line 3 def app_id @app_id end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
3 4 5 |
# File 'lib/bitbond/configuration.rb', line 3 def secret_key @secret_key end |