Class: UserifyMailer

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

Constant Summary collapse

@@sender_address =
%("Do Not Reply" <[email protected]>)

Instance Method Summary collapse

Instance Method Details

#confirmation(user) ⇒ Object



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

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

#reset_password(user) ⇒ Object



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

def reset_password(user)
  from       sender_address
  recipients user.email
  subject    "Reset your password"
  body       :user => user
end