Class: StudyReportJob

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

Overview

Generate a study report.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#study_report_idObject

Returns the value of attribute study_report_id

Returns:

  • (Object)

    the current value of study_report_id


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

def study_report_id
  @study_report_id
end

Instance Method Details

#performObject


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

def perform
  StudyReport.find(study_report_id).perform
end