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.
14 15 16 |
# File 'lib/feature_gate.rb', line 14 def initialize @time_to_stale = 1.month end |
Instance Attribute Details
#time_to_stale ⇒ Object
Returns the value of attribute time_to_stale.
12 13 14 |
# File 'lib/feature_gate.rb', line 12 def time_to_stale @time_to_stale end |