Class: Notifier
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Notifier
- Defined in:
- lib/metajp/templates/models/notifier.rb
Instance Method Summary collapse
- #activation_confirmation(user) ⇒ Object
- #activation_instructions(user) ⇒ Object
- #password_reset_instructions(user) ⇒ Object
Instance Method Details
#activation_confirmation(user) ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/metajp/templates/models/notifier.rb', line 12 def activation_confirmation(user) subject "Activation Complete" from "petit vogue <[email protected]>" recipients user.email sent_on Time.now body :root_url => root_url end |
#activation_instructions(user) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/metajp/templates/models/notifier.rb', line 4 def activation_instructions(user) subject "Activation Instructions" from "petit vogue <[email protected]>" recipients user.email sent_on Time.now body :account_activation_url => register_url(user.perishable_token) end |
#password_reset_instructions(user) ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/metajp/templates/models/notifier.rb', line 20 def password_reset_instructions(user) subject "Password Reset Instructions" from "petit vogue <[email protected]>" recipients user.email sent_on Time.now body :reset_password_url => change_password_url(user.perishable_token) end |