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.
-
#webhook_character_limit ⇒ Object
Returns the value of attribute webhook_character_limit.
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 11 |
# File 'lib/flipper/notifications/configuration.rb', line 7 def initialize @enabled = false @notifiers = [] @webhook_character_limit = nil end |
Instance Attribute Details
#enabled ⇒ Object
Returns the value of attribute enabled.
13 14 15 |
# File 'lib/flipper/notifications/configuration.rb', line 13 def enabled @enabled end |
#notifiers ⇒ Object
Returns the value of attribute notifiers.
13 14 15 |
# File 'lib/flipper/notifications/configuration.rb', line 13 def notifiers @notifiers end |
#webhook_character_limit ⇒ Object
Returns the value of attribute webhook_character_limit.
13 14 15 |
# File 'lib/flipper/notifications/configuration.rb', line 13 def webhook_character_limit @webhook_character_limit end |
Instance Method Details
#enabled? ⇒ Boolean
15 16 17 |
# File 'lib/flipper/notifications/configuration.rb', line 15 def enabled? @enabled end |