class CustomDeviseMailer

Public Instance Methods

confirmation_instructions(record, opts={}) click to toggle source
# File lib/generators/templates/devise/custom_devise_mailer.rb, line 5
def confirmation_instructions(record, opts={})
  sending(record, :confirmation_instructions,
          "#{obj_class_name(record)}_mailer:#{__method__}", opts, {})
end
reset_password_instructions(record, opts={}) click to toggle source
# File lib/generators/templates/devise/custom_devise_mailer.rb, line 10
def reset_password_instructions(record, opts={})
  sending(record, :reset_password_instructions,
          "#{obj_class_name(record)}_mailer:#{__method__}", opts, {})
end
unlock_instructions(record, opts={}) click to toggle source
# File lib/generators/templates/devise/custom_devise_mailer.rb, line 15
def unlock_instructions(record, opts={})
  sending(record, :unlock_instructions,
          "#{obj_class_name(record)}_mailer:#{__method__}", opts, {})
end