Class: ActionMailer::Parameterized::DeliveryJob
- Inherits:
-
DeliveryJob
- Object
- ActiveJob::Base
- DeliveryJob
- ActionMailer::Parameterized::DeliveryJob
- Defined in:
- lib/action_mailer/parameterized.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#perform(mailer, mail_method, delivery_method, params, *args) ⇒ Object
126 127 128 |
# File 'lib/action_mailer/parameterized.rb', line 126 def perform(mailer, mail_method, delivery_method, params, *args) mailer.constantize.with(params).public_send(mail_method, *args).send(delivery_method) end |