Sha256: 741501047434b2c8c727ef071bd4e2897864f1f7f1ac4adb860ab1dac213bbf7

Contents?: true

Size: 203 Bytes

Versions: 7

Compression:

Stored size: 203 Bytes

Contents

require 'sidekiq'

module Outboxable
  class Worker
    include ::Sidekiq::Job

    def perform(outbox_id)
      Outboxable::PublishingManager.publish(resource: Outbox.find(outbox_id))
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
outboxable-1.0.0 lib/outboxable/worker.rb
outboxable-0.1.8 lib/outboxable/worker.rb
outboxable-0.1.7 lib/outboxable/worker.rb
outboxable-0.1.6 lib/outboxable/worker.rb
outboxable-0.1.5 lib/outboxable/worker.rb
outboxable-0.1.4 lib/outboxable/worker.rb
outboxable-0.1.3 lib/outboxable/worker.rb