Class: ActionMailbox::RoutingJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
app/jobs/action_mailbox/routing_job.rb

Overview

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.

Instance Method Summary collapse

Instance Method Details

#perform(inbound_email) ⇒ Object



9
10
11
# File 'app/jobs/action_mailbox/routing_job.rb', line 9

def perform(inbound_email)
  inbound_email.route
end