Sha256: f298dbd719af934a3f8237b32f4d4f6c3337b0c86020a36336db939acb757c2e

Contents?: true

Size: 214 Bytes

Versions: 13

Compression:

Stored size: 214 Bytes

Contents

# frozen_string_literal: true

require "rabbit/publishing"

module Rabbit::Publishing
  class Job < ActiveJob::Base
    def perform(message)
      Rabbit::Publishing.publish(Message.new(message))
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rabbit_messaging-1.1.0 lib/rabbit/publishing/job.rb
rabbit_messaging-1.0.0 lib/rabbit/publishing/job.rb
rabbit_messaging-0.15.0 lib/rabbit/publishing/job.rb
rabbit_messaging-0.13.0 lib/rabbit/publishing/job.rb
rabbit_messaging-0.12.1 lib/rabbit/publishing/job.rb
rabbit_messaging-0.12.0 lib/rabbit/publishing/job.rb
rabbit_messaging-0.11.0 lib/rabbit/publishing/job.rb
rabbit_messaging-0.10.0 lib/rabbit/publishing/job.rb
rabbit_messaging-0.9.0 lib/rabbit/publishing/job.rb
rabbit_messaging-0.8.1 lib/rabbit/publishing/job.rb
rabbit_messaging-0.7.1 lib/rabbit/publishing/job.rb
rabbit_messaging-0.7.0 lib/rabbit/publishing/job.rb
rabbit_messaging-0.6.0 lib/rabbit/publishing/job.rb