Sha256: 9de8950de4315b9ee4bfec2c8c3e17cff89545b8b8e059d5cc24b98b48038fb9

Contents?: true

Size: 156 Bytes

Versions: 20

Compression:

Stored size: 156 Bytes

Contents

module Loco
  class SenderJob < ActiveJob::Base
    queue_as :loco

    def perform recipient, data
      Sender.new(recipient, data).emit
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
loco-rails-2.5.3 app/jobs/loco/sender_job.rb
loco-rails-2.5.2 app/jobs/loco/sender_job.rb
loco-rails-2.5.1 app/jobs/loco/sender_job.rb
loco-rails-2.5.0 app/jobs/loco/sender_job.rb
loco-rails-2.4.0 app/jobs/loco/sender_job.rb
loco-rails-2.3.0 app/jobs/loco/sender_job.rb
loco-rails-3.0.0 app/jobs/loco/sender_job.rb
loco-rails-2.2.2 app/jobs/loco/sender_job.rb
loco-rails-2.2.1 app/jobs/loco/sender_job.rb
loco-rails-2.2.0 app/jobs/loco/sender_job.rb
loco-rails-2.1.0 app/jobs/loco/sender_job.rb
loco-rails-2.0.0 app/jobs/loco/sender_job.rb
loco-rails-1.5.2 app/jobs/loco/sender_job.rb
loco-rails-1.5.1 app/jobs/loco/sender_job.rb
loco-rails-1.5.0 app/jobs/loco/sender_job.rb
loco-rails-1.4.0 app/jobs/loco/sender_job.rb
loco-rails-1.3.3 app/jobs/loco/sender_job.rb
loco-rails-1.3.2 app/jobs/loco/sender_job.rb
loco-rails-1.3.1 app/jobs/loco/sender_job.rb
loco-rails-1.3.0 app/jobs/loco/sender_job.rb