Class: ActionMailer::Parameterized::DeliveryJob
- Inherits:
-
DeliveryJob
- Object
- ActiveJob::Base
- DeliveryJob
- ActionMailer::Parameterized::DeliveryJob
- Defined in:
- actionmailer/lib/action_mailer/parameterized.rb
Overview
:nodoc:
Constant Summary
Constants included from ActiveSupport::Callbacks
ActiveSupport::Callbacks::CALLBACK_FILTER_TYPES
Instance Method Summary collapse
Methods included from ActiveSupport::Concern
#append_features, #class_methods, extended, #included
Methods included from ActiveJob::Exceptions
Methods included from ActiveSupport::Callbacks
Methods included from ActiveJob::Execution
Methods included from ActiveSupport::Rescuable
#handler_for_rescue, #rescue_with_handler
Methods included from ActiveJob::Enqueuing
Methods included from ActiveJob::QueuePriority
Methods included from ActiveJob::QueueName
Methods included from ActiveJob::Core
#deserialize, #initialize, #serialize
Instance Method Details
#perform(mailer, mail_method, delivery_method, params, *args) ⇒ Object
149 150 151 |
# File 'actionmailer/lib/action_mailer/parameterized.rb', line 149 def perform(mailer, mail_method, delivery_method, params, *args) mailer.constantize.with(params).public_send(mail_method, *args).send(delivery_method) end |