Module: Sidekiq::ServerMiddleware
- Included in:
- CurrentAttributes::Load, CurrentAttributes::Save, Middleware::I18n::Client, Middleware::I18n::Server
- Defined in:
- lib/sidekiq/middleware/modules.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
Instance Method Summary collapse
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
3 4 5 |
# File 'lib/sidekiq/middleware/modules.rb', line 3 def config @config end |
Instance Method Details
#logger ⇒ Object
8 9 10 |
# File 'lib/sidekiq/middleware/modules.rb', line 8 def logger config.logger end |
#redis(&block) ⇒ Object
12 13 14 |
# File 'lib/sidekiq/middleware/modules.rb', line 12 def redis(&block) config.redis(&block) end |
#redis_pool ⇒ Object
4 5 6 |
# File 'lib/sidekiq/middleware/modules.rb', line 4 def redis_pool config.redis_pool end |