Class: Renalware::UKRDC::SumaryPreview
- Inherits:
-
ActionMailer::Preview
- Object
- ActionMailer::Preview
- Renalware::UKRDC::SumaryPreview
- Defined in:
- app/mailers/renalware/previews/ukrdc_summary_preview.rb
Overview
Preview all emails at localhost:3000/rails/mailers
Instance Method Summary collapse
Instance Method Details
#daily_summary ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'app/mailers/renalware/previews/ukrdc_summary_preview.rb', line 9 def daily_summary summary = ExportSummary.new( archive_folder: "/var/ukrdc/test", num_changed_patients: 10, milliseconds_taken: 123.0, results: { sent: 1, unsent: 2 } ) UKRDC::SummaryMailer.export_summary(summary: summary) end |