lib/outboxable/worker.rb in outboxable-0.1.2 vs lib/outboxable/worker.rb in outboxable-0.1.3

- old
+ new

@@ -1,9 +1,11 @@ +require 'sidekiq' + module Outboxable class Worker - include Sidekiq::Job + include ::Sidekiq::Job def perform(outbox_id) Outboxable::PublishingManager.publish(resource: Outbox.find(outbox_id)) end end -end \ No newline at end of file +end