Class: Firekassa::Config
- Inherits:
-
Object
- Object
- Firekassa::Config
- Defined in:
- lib/firekassa/config.rb
Overview
Configuration storage
Instance Attribute Summary collapse
-
#api_token ⇒ Object
Returns the value of attribute api_token.
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#faraday_block ⇒ Object
Returns the value of attribute faraday_block.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
8 9 10 11 12 |
# File 'lib/firekassa/config.rb', line 8 def initialize @base_url = nil @api_token = nil @faraday_block = nil end |
Instance Attribute Details
#api_token ⇒ Object
Returns the value of attribute api_token.
6 7 8 |
# File 'lib/firekassa/config.rb', line 6 def api_token @api_token end |
#base_url ⇒ Object
Returns the value of attribute base_url.
6 7 8 |
# File 'lib/firekassa/config.rb', line 6 def base_url @base_url end |
#faraday_block ⇒ Object
Returns the value of attribute faraday_block.
6 7 8 |
# File 'lib/firekassa/config.rb', line 6 def faraday_block @faraday_block end |