Class: FeatureGuard::Configuration
- Inherits:
-
Object
- Object
- FeatureGuard::Configuration
- Defined in:
- lib/feature_guard/configuration.rb
Instance Attribute Summary collapse
-
#redirect_method ⇒ Object
Returns the value of attribute redirect_method.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 |
# File 'lib/feature_guard/configuration.rb', line 7 def initialize # Combined with the controller namespace to build the redirect helper. @redirect_method = :root_path end |
Instance Attribute Details
#redirect_method ⇒ Object
Returns the value of attribute redirect_method.
5 6 7 |
# File 'lib/feature_guard/configuration.rb', line 5 def redirect_method @redirect_method end |