Class: LocationReportJob

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

Overview

Extracts location information for the LocationReport

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



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

def location_report_id
  @location_report_id
end

Instance Method Details

#performObject



6
7
8
# File 'app/jobs/location_report_job.rb', line 6

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