Class: ClearanceMailer

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

Instance Method Summary collapse

Instance Method Details

#change_password(user) ⇒ Object



5
6
7
8
9
10
# File 'app/models/clearance_mailer.rb', line 5

def change_password(user)
  from       DO_NOT_REPLY
  recipients user.email
  subject    "Change your password"
  body       :user => user
end

#confirmation(user) ⇒ Object



12
13
14
15
16
17
# File 'app/models/clearance_mailer.rb', line 12

def confirmation(user)
  from       DO_NOT_REPLY
  recipients user.email
  subject   "Account confirmation"
  body      :user => user
end