Class: Workarea::Admin::StatusReportMailer
- Inherits:
-
ApplicationMailer
- Object
- Workarea::ApplicationMailer
- ApplicationMailer
- Workarea::Admin::StatusReportMailer
- Defined in:
- app/mailers/workarea/admin/status_report_mailer.rb
Instance Method Summary collapse
Instance Method Details
#report(emails, date) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 |
# File 'app/mailers/workarea/admin/status_report_mailer.rb', line 6 def report(emails, date) @alerts = AlertsViewModel.wrap(Alerts.new) @date = date @dashboard = Dashboards::IndexViewModel.new mail( bcc: emails, from: Workarea.config.email_from, subject: t('workarea.admin.status_report_mailer.title') ) end |