Class: QcReportJob

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

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


1
2
3
# File 'app/jobs/qc_report_job.rb', line 1

def qc_report_id
  @qc_report_id
end

Instance Method Details

#performObject


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

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