Module: ActiveJob::Plugins::Resque::Solo
- Defined in:
- lib/active_job/plugins/resque/solo.rb,
lib/active_job/plugins/resque/solo/lock.rb,
lib/active_job/plugins/resque/solo/inspector.rb
Defined Under Namespace
Modules: ClassMethods Classes: Inspector, Lock
Class Method Summary collapse
Class Method Details
.included(base_class) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/active_job/plugins/resque/solo.rb', line 8 def self.included(base_class) base_class.extend(ClassMethods) base_class.around_enqueue do |job, block| base_class.solo_inspector.around_enqueue(job, block) end end |