mirror of
https://github.com/ditkrg/outboxable.git
synced 2026-01-22 22:06:47 +00:00
Explicitly requires sidekiq
This commit is contained in:
parent
53e3f655e6
commit
723481af3d
@ -1,6 +1,8 @@
|
||||
require 'sidekiq'
|
||||
|
||||
module Outboxable
|
||||
class Worker
|
||||
include Sidekiq::Job
|
||||
include ::Sidekiq::Job
|
||||
|
||||
def perform(outbox_id)
|
||||
Outboxable::PublishingManager.publish(resource: Outbox.find(outbox_id))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user