Class: Flipper::Notifications::Configuration
- Inherits:
-
Object
- Object
- Flipper::Notifications::Configuration
- Defined in:
- lib/flipper/notifications/configuration.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#notifiers ⇒ Object
Returns the value of attribute notifiers.
Instance Method Summary collapse
- #enabled? ⇒ Boolean
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 |
# File 'lib/flipper/notifications/configuration.rb', line 7 def initialize @enabled = false @notifiers = [] end |
Instance Attribute Details
#enabled ⇒ Object
Returns the value of attribute enabled.
12 13 14 |
# File 'lib/flipper/notifications/configuration.rb', line 12 def enabled @enabled end |
#notifiers ⇒ Object
Returns the value of attribute notifiers.
12 13 14 |
# File 'lib/flipper/notifications/configuration.rb', line 12 def notifiers @notifiers end |
Instance Method Details
#enabled? ⇒ Boolean
14 15 16 |
# File 'lib/flipper/notifications/configuration.rb', line 14 def enabled? @enabled end |