Class: Peoplefinder::UserUpdateMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Peoplefinder::UserUpdateMailer
- Defined in:
- app/mailers/peoplefinder/user_update_mailer.rb
Instance Method Summary collapse
- #deleted_profile_email(person, by_email = nil) ⇒ Object
- #new_profile_email(person, by_email = nil) ⇒ Object
- #updated_address_from_email(person, by_email, old_email) ⇒ Object
- #updated_address_to_email(person, by_email, _old_email) ⇒ Object
- #updated_profile_email(person, by_email = nil) ⇒ Object
Instance Method Details
#deleted_profile_email(person, by_email = nil) ⇒ Object
18 19 20 21 22 |
# File 'app/mailers/peoplefinder/user_update_mailer.rb', line 18 def deleted_profile_email(person, by_email = nil) @person = person @by_email = by_email mail to: @person.email end |
#new_profile_email(person, by_email = nil) ⇒ Object
4 5 6 7 8 9 |
# File 'app/mailers/peoplefinder/user_update_mailer.rb', line 4 def new_profile_email(person, by_email = nil) @person = person @by_email = by_email set_token_params mail to: @person.email end |
#updated_address_from_email(person, by_email, old_email) ⇒ Object
24 25 26 27 28 29 |
# File 'app/mailers/peoplefinder/user_update_mailer.rb', line 24 def updated_address_from_email(person, by_email, old_email) @person = person @by_email = by_email set_token_params mail to: old_email end |
#updated_address_to_email(person, by_email, _old_email) ⇒ Object
31 32 33 34 35 36 |
# File 'app/mailers/peoplefinder/user_update_mailer.rb', line 31 def updated_address_to_email(person, by_email, _old_email) @person = person @by_email = by_email set_token_params mail to: @person.email end |
#updated_profile_email(person, by_email = nil) ⇒ Object
11 12 13 14 15 16 |
# File 'app/mailers/peoplefinder/user_update_mailer.rb', line 11 def updated_profile_email(person, by_email = nil) @person = person @by_email = by_email set_token_params mail to: @person.email end |