Class: Broadside::Configuration::EcsConfig
- Inherits:
-
ConfigStruct
- Object
- ConfigStruct
- Broadside::Configuration::EcsConfig
- Defined in:
- lib/broadside/configuration/ecs.rb
Instance Attribute Summary collapse
-
#cluster ⇒ Object
Returns the value of attribute cluster.
-
#poll_frequency ⇒ Object
Returns the value of attribute poll_frequency.
Instance Method Summary collapse
-
#initialize ⇒ EcsConfig
constructor
A new instance of EcsConfig.
Methods inherited from ConfigStruct
#method_missing, #to_h, #verify
Constructor Details
#initialize ⇒ EcsConfig
Returns a new instance of EcsConfig.
6 7 8 9 |
# File 'lib/broadside/configuration/ecs.rb', line 6 def initialize @cluster = nil @poll_frequency = 2 end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Broadside::Configuration::ConfigStruct
Instance Attribute Details
#cluster ⇒ Object
Returns the value of attribute cluster.
4 5 6 |
# File 'lib/broadside/configuration/ecs.rb', line 4 def cluster @cluster end |
#poll_frequency ⇒ Object
Returns the value of attribute poll_frequency.
4 5 6 |
# File 'lib/broadside/configuration/ecs.rb', line 4 def poll_frequency @poll_frequency end |