Class: Hello::Mailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Hello::Mailer
- Defined in:
- app/mailers/hello/mailer.rb
Instance Method Summary collapse
- #confirm_email(email, user, url) ⇒ Object
- #forgot_password(email, user, url) ⇒ Object
- #welcome(email, user, password) ⇒ Object
Instance Method Details
#confirm_email(email, user, url) ⇒ Object
12 13 14 15 16 17 |
# File 'app/mailers/hello/mailer.rb', line 12 def confirm_email(email, user, url) @user = user @url = url mail to: email end |
#forgot_password(email, user, url) ⇒ Object
19 20 21 22 23 24 |
# File 'app/mailers/hello/mailer.rb', line 19 def forgot_password(email, user, url) @user = user @url = url mail to: email end |
#welcome(email, user, password) ⇒ Object
5 6 7 8 9 10 |
# File 'app/mailers/hello/mailer.rb', line 5 def welcome(email, user, password) @user = user @password = password mail to: email end |