class ActionMailbox::RoutingJob

Parent:
ActiveJob::Base

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.

Public Instance Methods

perform(inbound_email) Show source
# File actionmailbox/app/jobs/action_mailbox/routing_job.rb, line 9
def perform(inbound_email)
  inbound_email.route
end

© 2004–2019 David Heinemeier Hansson
Licensed under the MIT License.