Class: MissionControl::Web::Configuration
- Inherits:
-
Object
- Object
- MissionControl::Web::Configuration
- Includes:
- ActiveModel::Attributes, ActiveModel::Dirty
- Defined in:
- lib/mission_control/web/configuration.rb
Instance Attribute Summary collapse
- #administered_applications ⇒ Object
-
#errors_controller ⇒ Object
Returns the value of attribute errors_controller.
- #redis ⇒ Object
Instance Attribute Details
#administered_applications ⇒ Object
18 19 20 |
# File 'lib/mission_control/web/configuration.rb', line 18 def administered_applications @administered_applications || [] end |
#errors_controller ⇒ Object
Returns the value of attribute errors_controller.
10 11 12 |
# File 'lib/mission_control/web/configuration.rb', line 10 def errors_controller @errors_controller end |
#redis ⇒ Object
14 15 16 |
# File 'lib/mission_control/web/configuration.rb', line 14 def redis @redis || raise("Redis client not configured. Configure with MissionControl::Web.configuration.redis = Redis.new") end |