Skip to Content Skip to Search

module ActionMailer::Parameterized::ClassMethods

Public instance methods

Provide the parameters to the mailer in order to use them in the instance methods and callbacks.

InvitationsMailer.with(inviter: person_a, invitee: person_b).account_invitation.deliver_later

See Parameterized documentation for full example.

Source code GitHub
# File actionmailer/lib/action_mailer/parameterized.rb, line 106
def with(params), params)

Definition files