Class: Checkups::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



19
20
21
22
# File 'lib/checkups/configuration.rb', line 19

def initialize
  @notifier = Checkups::SlackNotifier.new
  @logger = Logger.new(IO::NULL)
end

Instance Attribute Details

#loggerObject

Returns the value of attribute logger.



17
18
19
# File 'lib/checkups/configuration.rb', line 17

def logger
  @logger
end

#notifierObject

Returns the value of attribute notifier.



17
18
19
# File 'lib/checkups/configuration.rb', line 17

def notifier
  @notifier
end