Module: Qless::Workers::BaseWorker::SupportsMiddlewareModules
- Included in:
- Qless::Workers::BaseWorker
- Defined in:
- lib/qless/worker/base.rb
Overview
Allow middleware modules to be mixed in and override the definition of around_perform while providing a default implementation so our code can assume the method is present.
Instance Method Summary collapse
Instance Method Details
#after_fork ⇒ Object
134 135 |
# File 'lib/qless/worker/base.rb', line 134 def after_fork end |
#around_perform(job) ⇒ Object
130 131 132 |
# File 'lib/qless/worker/base.rb', line 130 def around_perform(job) job.perform end |