Class: ReportMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- ReportMailer
- Defined in:
- app/mailers/report_mailer.rb
Instance Method Summary collapse
Instance Method Details
#send_report(user, to, subject, message, file_name, attachment) ⇒ Object
4 5 6 7 8 9 |
# File 'app/mailers/report_mailer.rb', line 4 def send_report(user, to, subject, , file_name, ) @user = user @message = ["#{file_name}.pdf"] = mail(:to => to, :subject => subject) end |