Module: Clearance::App::Models::ClearanceMailer::InstanceMethods
- Defined in:
- lib/clearance/app/models/clearance_mailer.rb
Instance Method Summary collapse
Instance Method Details
#confirmation(user) ⇒ Object
22 23 24 25 26 27 |
# File 'lib/clearance/app/models/clearance_mailer.rb', line 22 def confirmation(user) recipients user.email from DO_NOT_REPLY subject "[#{PROJECT_NAME.humanize}] Account confirmation" body :user => user end |
#forgot_password(user) ⇒ Object
15 16 17 18 19 20 |
# File 'lib/clearance/app/models/clearance_mailer.rb', line 15 def forgot_password(user) from DO_NOT_REPLY recipients user.email subject "[#{PROJECT_NAME.humanize}] Forgot your password" body :user => user end |