Class: Streaker::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/streaker/configuration.rb

Overview

The configuration singleton.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_keyObject

Returns the value of attribute api_key.



5
6
7
# File 'lib/streaker/configuration.rb', line 5

def api_key
  @api_key
end

#field_keysObject

Returns the value of attribute field_keys.



5
6
7
# File 'lib/streaker/configuration.rb', line 5

def field_keys
  @field_keys
end

#pipeline_keysObject

Returns the value of attribute pipeline_keys.



5
6
7
# File 'lib/streaker/configuration.rb', line 5

def pipeline_keys
  @pipeline_keys
end

#stage_keysObject

Returns the value of attribute stage_keys.



5
6
7
# File 'lib/streaker/configuration.rb', line 5

def stage_keys
  @stage_keys
end