Class: FeatureGate::Configuration
- Inherits:
-
Object
- Object
- FeatureGate::Configuration
- Defined in:
- lib/feature_gate.rb
Instance Attribute Summary collapse
-
#time_to_stale ⇒ Object
Returns the value of attribute time_to_stale.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
17 18 19 |
# File 'lib/feature_gate.rb', line 17 def initialize @time_to_stale = 1.month end |
Instance Attribute Details
#time_to_stale ⇒ Object
Returns the value of attribute time_to_stale.
15 16 17 |
# File 'lib/feature_gate.rb', line 15 def time_to_stale @time_to_stale end |