Class: Bloodbath::Configuration
- Inherits:
-
Object
- Object
- Bloodbath::Configuration
- Defined in:
- lib/bloodbath/configuration.rb
Instance Attribute Summary collapse
-
#api_base ⇒ Object
Returns the value of attribute api_base.
-
#api_key ⇒ Object
Returns the value of attribute api_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 |
# File 'lib/bloodbath/configuration.rb', line 6 def initialize @api_base = "https://api.bloodbath.io/rest" end |
Instance Attribute Details
#api_base ⇒ Object
Returns the value of attribute api_base.
4 5 6 |
# File 'lib/bloodbath/configuration.rb', line 4 def api_base @api_base end |
#api_key ⇒ Object
Returns the value of attribute api_key.
4 5 6 |
# File 'lib/bloodbath/configuration.rb', line 4 def api_key @api_key end |