Class: Streaker::Configuration
- Inherits:
-
Object
- Object
- Streaker::Configuration
- Defined in:
- lib/streaker/configuration.rb
Overview
The configuration singleton.
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#field_keys ⇒ Object
Returns the value of attribute field_keys.
-
#pipeline_keys ⇒ Object
Returns the value of attribute pipeline_keys.
-
#stage_keys ⇒ Object
Returns the value of attribute stage_keys.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 13 14 15 |
# File 'lib/streaker/configuration.rb', line 10 def initialize @api_key = '' @pipeline_keys = {} @stage_keys = {} @field_keys = {} end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
5 6 7 |
# File 'lib/streaker/configuration.rb', line 5 def api_key @api_key end |
#field_keys ⇒ Object
Returns the value of attribute field_keys.
5 6 7 |
# File 'lib/streaker/configuration.rb', line 5 def field_keys @field_keys end |
#pipeline_keys ⇒ Object
Returns the value of attribute pipeline_keys.
5 6 7 |
# File 'lib/streaker/configuration.rb', line 5 def pipeline_keys @pipeline_keys end |
#stage_keys ⇒ Object
Returns the value of attribute stage_keys.
5 6 7 |
# File 'lib/streaker/configuration.rb', line 5 def stage_keys @stage_keys end |