Flowdock
method

perform

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: MailDeliveryJob
perform(mailer, mail_method, delivery_method, args:, kwargs: nil, params: nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionmailer/lib/action_mailer/mail_delivery_job.rb, line 16
    def perform(mailer, mail_method, delivery_method, args,, kwargs: nil, params: nil)
      mailer_class = params ? mailer.constantize.with(params) : mailer.constantize
      message = if kwargs
        mailer_class.public_send(mail_method, *args, **kwargs)
      else
        mailer_class.public_send(mail_method, *args)
      end
      message.send(delivery_method)
    end
Register or log in to add new notes.