Class: Sidekiq::MemoryLogger::Configuration
- Inherits:
-
Object
- Object
- Sidekiq::MemoryLogger::Configuration
- Defined in:
- lib/sidekiq/memory_logger.rb
Instance Attribute Summary collapse
-
#callback ⇒ Object
Returns the value of attribute callback.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#queues ⇒ Object
Returns the value of attribute queues.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
14 15 16 17 18 |
# File 'lib/sidekiq/memory_logger.rb', line 14 def initialize @logger = default_logger @callback = default_callback @queues = [] end |
Instance Attribute Details
#callback ⇒ Object
Returns the value of attribute callback.
12 13 14 |
# File 'lib/sidekiq/memory_logger.rb', line 12 def callback @callback end |
#logger ⇒ Object
Returns the value of attribute logger.
12 13 14 |
# File 'lib/sidekiq/memory_logger.rb', line 12 def logger @logger end |
#queues ⇒ Object
Returns the value of attribute queues.
12 13 14 |
# File 'lib/sidekiq/memory_logger.rb', line 12 def queues @queues end |