Sha256: 5b27a4081732044a72b9bf3e3aaa145a453d45513ed271425d527015374b11a0

Contents?: true

Size: 181 Bytes

Versions: 3

Compression:

Stored size: 181 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

Version Path
outboxable-0.1.2 lib/outboxable/worker.rb
outboxable-0.1.1 lib/outboxable/worker.rb
outboxable-0.1.0 lib/outboxable/worker.rb