Sha256: 063b24df4d23e5ec1e6d08a4112e9720a777f8f84f173882a754c196909f001c

Contents?: true

Size: 424 Bytes

Versions: 154

Compression:

Stored size: 424 Bytes

Contents

# frozen_string_literal: true

module ActionMailbox
  # Routing a new InboundEmail is an asynchronous operation, which allows the ingress controllers to quickly
  # accept new incoming emails without being burdened to hang while they're actually being processed.
  class RoutingJob < ActiveJob::Base
    queue_as { ActionMailbox.queues[:routing] }

    def perform(inbound_email)
      inbound_email.route
    end
  end
end

Version data entries

154 entries across 149 versions & 13 rubygems

Version Path
actionmailbox-6.1.7.5 app/jobs/action_mailbox/routing_job.rb
actionmailbox-7.0.7 app/jobs/action_mailbox/routing_job.rb
actionmailbox-7.0.6 app/jobs/action_mailbox/routing_job.rb
actionmailbox-7.0.5.1 app/jobs/action_mailbox/routing_job.rb
actionmailbox-6.1.7.4 app/jobs/action_mailbox/routing_job.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionmailbox-7.0.2.3/app/jobs/action_mailbox/routing_job.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionmailbox-6.1.6.1/app/jobs/action_mailbox/routing_job.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionmailbox-7.0.3.1/app/jobs/action_mailbox/routing_job.rb
actionmailbox-7.0.5 app/jobs/action_mailbox/routing_job.rb
actionmailbox-7.0.4.3 app/jobs/action_mailbox/routing_job.rb
actionmailbox-6.1.7.3 app/jobs/action_mailbox/routing_job.rb
actionmailbox-6.1.7.2 app/jobs/action_mailbox/routing_job.rb
actionmailbox-7.0.4.2 app/jobs/action_mailbox/routing_job.rb
actionmailbox-7.0.4.1 app/jobs/action_mailbox/routing_job.rb
actionmailbox-6.1.7.1 app/jobs/action_mailbox/routing_job.rb
actionmailbox-6.0.6.1 app/jobs/action_mailbox/routing_job.rb
actionmailbox-7.0.4 app/jobs/action_mailbox/routing_job.rb
actionmailbox-6.1.7 app/jobs/action_mailbox/routing_job.rb
actionmailbox-6.0.6 app/jobs/action_mailbox/routing_job.rb
actionmailbox-7.0.3.1 app/jobs/action_mailbox/routing_job.rb