Class: NtqTools::Monitors::Configuration
- Inherits:
-
Object
- Object
- NtqTools::Monitors::Configuration
- Defined in:
- lib/ntq_tools/monitors/configuration.rb
Instance Attribute Summary collapse
-
#database ⇒ Object
Returns the value of attribute database.
-
#redis ⇒ Object
Returns the value of attribute redis.
-
#sidekiq ⇒ Object
Returns the value of attribute sidekiq.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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
#database ⇒ Object
Returns the value of attribute database.
6 7 8 |
# File 'lib/ntq_tools/monitors/configuration.rb', line 6 def database @database end |
#redis ⇒ Object
Returns the value of attribute redis.
6 7 8 |
# File 'lib/ntq_tools/monitors/configuration.rb', line 6 def redis @redis end |
#sidekiq ⇒ Object
Returns the value of attribute sidekiq.
6 7 8 |
# File 'lib/ntq_tools/monitors/configuration.rb', line 6 def sidekiq @sidekiq end |