Module: SimpleSwitch::SharedControllerMethods
- Included in:
- ActionController::Base
- Defined in:
- lib/simple_switch/shared_controller_methods.rb
Instance Method Summary collapse
Instance Method Details
#feature_config_info ⇒ Object
4 5 6 |
# File 'lib/simple_switch/shared_controller_methods.rb', line 4 def feature_config_info SimpleSwitch.feature_manager.feature_config end |
#update_feature(feature, env, new_value) ⇒ Object
8 9 10 |
# File 'lib/simple_switch/shared_controller_methods.rb', line 8 def update_feature(feature, env, new_value) SimpleSwitch.feature_manager.update(feature, env, new_value) end |