Class: OrderReporting::RecurringReportDelayedJob

Inherits:
RecurringReportJob show all
Defined in:
app/jobs/order_reporting/recurring_report_delayed_job.rb

Instance Attribute Summary

Attributes inherited from RecurringReportJob

#options, #report, #scheduler

Instance Method Summary collapse

Instance Method Details

#performObject



5
6
7
8
9
# File 'app/jobs/order_reporting/recurring_report_delayed_job.rb', line 5

def perform
  report.send_report
ensure
  scheduler.schedule(report, options)
end