Class: LocationReportJob
- Inherits:
-
Struct
- Object
- Struct
- LocationReportJob
- Defined in:
- app/jobs/location_report_job.rb
Overview
Extracts location information for the LocationReport
Instance Attribute Summary collapse
-
#location_report_id ⇒ Object
Returns the value of attribute location_report_id.
Instance Method Summary collapse
Instance Attribute Details
#location_report_id ⇒ Object
Returns the value of attribute 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
#perform ⇒ Object
6 7 8 |
# File 'app/jobs/location_report_job.rb', line 6 def perform LocationReport.find(location_report_id).generate! end |