Class: ActionMailbox::RoutingJob
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- ActionMailbox::RoutingJob
- Defined in:
- actionmailbox/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.
Constant Summary
Constants included from ActiveSupport::Callbacks
ActiveSupport::Callbacks::CALLBACK_FILTER_TYPES
Instance Attribute Summary
Attributes included from ActiveJob::Core
#arguments, #enqueue_error, #enqueued_at, #exception_executions, #executions, #job_id, #locale, #priority, #provider_job_id, #queue_name, #scheduled_at, #serialized_arguments, #successfully_enqueued, #timezone
Instance Method Summary collapse
Methods included from ActiveSupport::Concern
#append_features, #class_methods, extended, #included, #prepend_features, #prepended
Methods included from ActiveJob::Logging
Methods included from ActiveJob::Instrumentation
Methods included from ActiveJob::Exceptions
Methods included from ActiveSupport::Callbacks
Methods included from ActiveJob::QueuePriority
Methods included from ActiveJob::QueueName
Methods included from ActiveJob::Core
#deserialize, #initialize, #serialize, #set, #successfully_enqueued?
Instance Method Details
#perform(inbound_email) ⇒ Object
9 10 11 |
# File 'actionmailbox/app/jobs/action_mailbox/routing_job.rb', line 9 def perform(inbound_email) inbound_email.route end |