Class: QcReportJob

Inherits:
Struct
  • Object
show all
Defined in:
app/jobs/qc_report_job.rb

Overview

Triggers QcReport generation, which involves extracting qc metric from various sources

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#qc_report_idObject

Returns the value of attribute qc_report_id

Returns:

  • (Object)

    the current value of qc_report_id


3
4
5
# File 'app/jobs/qc_report_job.rb', line 3

def qc_report_id
  @qc_report_id
end

Instance Method Details

#performObject


4
5
6
# File 'app/jobs/qc_report_job.rb', line 4

def perform
  QcReport.find(qc_report_id).generate!
end