Flowdock
method

with

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ClassMethods
with(params) public

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.

Show source
Register or log in to add new notes.