Class: Flipper::Notifications::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/flipper/notifications/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#enabledObject

Returns the value of attribute enabled.



12
13
14
# File 'lib/flipper/notifications/configuration.rb', line 12

def enabled
  @enabled
end

#notifiersObject

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

Returns:

  • (Boolean)


14
15
16
# File 'lib/flipper/notifications/configuration.rb', line 14

def enabled?
  @enabled
end