Class: QcReportJob
- Inherits:
-
Struct
- Object
- Struct
- QcReportJob
- Defined in:
- app/jobs/qc_report_job.rb
Overview
Triggers QcReport generation, which involves extracting qc metric from various sources
Instance Attribute Summary collapse
-
#qc_report_id ⇒ Object
Returns the value of attribute qc_report_id.
Instance Method Summary collapse
Instance Attribute Details
#qc_report_id ⇒ Object
Returns the value of attribute qc_report_id
4 5 6 |
# File 'app/jobs/qc_report_job.rb', line 4 def qc_report_id @qc_report_id end |
Instance Method Details
#perform ⇒ Object
6 7 8 |
# File 'app/jobs/qc_report_job.rb', line 6 def perform QcReport.find(qc_report_id).generate! end |