Class: ReportCard::Mailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- ReportCard::Mailer
- Defined in:
- app/mailers/report_card/mailer.rb
Instance Method Summary collapse
Instance Method Details
#report(url, email) ⇒ Object
3 4 5 6 7 8 9 |
# File 'app/mailers/report_card/mailer.rb', line 3 def report(url, email) @url = url mail to: email, from: ReportCard.from_email, subject: 'Your report is ready' end |