Class: Notifier

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/models/notifier.rb

Instance Method Summary collapse

Instance Method Details

#confirmation_instructions(record) ⇒ Object

Deliver confirmation instructions when the user is created or its email is updated, and also when confirmation is manually requested



6
7
8
# File 'app/models/notifier.rb', line 6

def confirmation_instructions(record)
  setup_mail(record, :confirmation_instructions)
end

#reset_password_instructions(record) ⇒ Object

Deliver reset password instructions when manually requested



11
12
13
# File 'app/models/notifier.rb', line 11

def reset_password_instructions(record)
  setup_mail(record, :reset_password_instructions)
end