class

Devise::Mailer

Inherits ActionMailer::Base < Reference < Object

End-of-program codegen: for every mailer class, each public instance method (the "actions") gets a class-level twin returning a lazy MessageDelivery — the analog of Rails' class-level method_missing — plus a serialized-args dispatcher (__deliver) used by MailDeliveryJob, and a name lookup (ActionMailer.lookup_mailer).

Class methods

deliver_devise_notification(record : ActiveRecord::Base, notification : Symbol, args : Array(String | Hash(String, ActiveRecord::Value))) : Nil

Model-side dispatch: send_devise_notification(:reset_password_instructions, raw, opts?) (instance-level: the delivery twin's ActiveJob arg serialization does not apply to immediate delivery)

Source

Instance methods

__default_from

from: mailer_sender (the gem resolves it per mapping; single-scope port — Devise.mailer_sender).

Source
confirmation_instructions(record, token, opts = {} of String => ::ActiveRecord::Value)
Source
email_changed(record, opts = {} of String => ::ActiveRecord::Value)
Source
password_change(record, opts = {} of String => ::ActiveRecord::Value)
Source
reset_password_instructions(record, token, opts = {} of String => ::ActiveRecord::Value)
Source
unlock_instructions(record, token, opts = {} of String => ::ActiveRecord::Value)
Source