Class: LocationReportJob

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#location_report_idObject

Returns the value of attribute location_report_id

Returns:

  • (Object)

    the current value of location_report_id


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

def location_report_id
  @location_report_id
end

Instance Method Details

#performObject


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

def perform
  LocationReport.find(location_report_id).generate!
end