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.
-
#verbose ⇒ Object
Returns the value of attribute verbose.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 |
# File 'lib/bloodbath/configuration.rb', line 7 def initialize @api_base = "https://api.bloodbath.io/rest" # "http://localhost:4000/rest" @verbose = false end |
Instance Attribute Details
#api_base ⇒ Object
Returns the value of attribute api_base.
5 6 7 |
# File 'lib/bloodbath/configuration.rb', line 5 def api_base @api_base end |
#api_key ⇒ Object
Returns the value of attribute api_key.
5 6 7 |
# File 'lib/bloodbath/configuration.rb', line 5 def api_key @api_key end |
#verbose ⇒ Object
Returns the value of attribute verbose.
5 6 7 |
# File 'lib/bloodbath/configuration.rb', line 5 def verbose @verbose end |