Class: ReportWorker
- Inherits:
-
Object
- Object
- ReportWorker
- Includes:
- Sidekiq::Worker
- Defined in:
- app/workers/report_worker.rb
Instance Method Summary collapse
Instance Method Details
#perform(report_id) ⇒ Object
4 5 6 |
# File 'app/workers/report_worker.rb', line 4 def perform(report_id) Report.find(report_id).build! end |