Class: Peoplefinder::ReminderMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Peoplefinder::ReminderMailer
- Defined in:
- app/mailers/peoplefinder/reminder_mailer.rb
Instance Method Summary collapse
- #inadequate_profile(person) ⇒ Object
- #information_request(information_request) ⇒ Object
- #reported_profile(reported_profile) ⇒ Object
Instance Method Details
#inadequate_profile(person) ⇒ Object
4 5 6 7 8 |
# File 'app/mailers/peoplefinder/reminder_mailer.rb', line 4 def inadequate_profile(person) @person = person @token = Peoplefinder::Token.for_person(@person) mail to: @person.email end |
#information_request(information_request) ⇒ Object
10 11 12 13 14 15 16 |
# File 'app/mailers/peoplefinder/reminder_mailer.rb', line 10 def information_request(information_request) @person = information_request.recipient @token = Peoplefinder::Token.for_person(@person) @message = information_request. mail to: @person.email end |
#reported_profile(reported_profile) ⇒ Object
18 19 20 21 22 23 24 25 |
# File 'app/mailers/peoplefinder/reminder_mailer.rb', line 18 def reported_profile(reported_profile) @subject = reported_profile.subject @notifier = reported_profile.notifier @reason_for_reporting = reported_profile.reason_for_reporting @additional_details = reported_profile.additional_details mail to: reported_profile.recipient_email end |