6 7 8 9
# File 'app/jobs/spree/reports/generate_job.rb', line 6 def perform(report_id) report = Spree::Report.find(report_id) report.generate end