module SimpleSwitch::SharedControllerMethods
Public Instance Methods
feature_config_info()
click to toggle source
# File lib/simple_switch/shared_controller_methods.rb, line 4 def feature_config_info SimpleSwitch.feature_manager.feature_config end
turn_off(feature, env)
click to toggle source
# File lib/simple_switch/shared_controller_methods.rb, line 12 def turn_off(feature, env) SimpleSwitch.feature_manager.turn_off(feature, env) end
turn_on(feature, env)
click to toggle source
# File lib/simple_switch/shared_controller_methods.rb, line 8 def turn_on(feature, env) SimpleSwitch.feature_manager.turn_on(feature, env) end