Class: Notifier
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Notifier
- Defined in:
- app/models/notifier.rb
Instance Method Summary collapse
Instance Method Details
#changeEmail(person, link) ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 |
# File 'app/models/notifier.rb', line 2 def changeEmail(person, link) # Email header info MUST be added here @recipients = person.email @subject = "[parleR] check key: "+person.check_key @from = MAIL_FROM # Email body substitutions go here @body["name"] = person.name @body["link"] = link @body["check_key"] = person.check_key end |