Class: NtqTools::Monitors::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



8
9
10
11
12
# File 'lib/ntq_tools/monitors/configuration.rb', line 8

def initialize
  @database = true
  @redis    = true
  @sidekiq  = true
end

Instance Attribute Details

#databaseObject

Returns the value of attribute database.



6
7
8
# File 'lib/ntq_tools/monitors/configuration.rb', line 6

def database
  @database
end

#redisObject

Returns the value of attribute redis.



6
7
8
# File 'lib/ntq_tools/monitors/configuration.rb', line 6

def redis
  @redis
end

#sidekiqObject

Returns the value of attribute sidekiq.



6
7
8
# File 'lib/ntq_tools/monitors/configuration.rb', line 6

def sidekiq
  @sidekiq
end