Module: Clearance::App::Models::ClearanceMailer
- Defined in:
- lib/clearance/app/models/clearance_mailer.rb
Class Method Summary collapse
Class Method Details
.included(mailer) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/clearance/app/models/clearance_mailer.rb', line 6 def self.included(mailer) mailer.class_eval do def change_password(user) from DO_NOT_REPLY recipients user.email subject "Change your password" body :user => user end def confirmation(user) from DO_NOT_REPLY recipients user.email subject "Account confirmation" body :user => user end end end |