Module: QueueBus::Worker
Class Method Summary collapse
Instance Method Summary collapse
-
#perform(*args) ⇒ Object
all our workers include this one.
Class Method Details
.included(base) ⇒ Object
4 5 6 |
# File 'lib/queue_bus/worker.rb', line 4 def self.included(base) ::QueueBus.adapter.worker_included(base) end |
Instance Method Details
#perform(*args) ⇒ Object
all our workers include this one
9 10 11 12 |
# File 'lib/queue_bus/worker.rb', line 9 def perform(*args) # instance method level support for sidekiq self.class.perform(*args) end |