Class: ImportGazetteersJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- ImportGazetteersJob
- Defined in:
- app/jobs/import_gazetteers_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(shapefile, citation_options, uid, project_id, progress_tracker, projects) ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'app/jobs/import_gazetteers_job.rb', line 4 def perform( shapefile, , uid, project_id, progress_tracker, projects ) Current.user_id = uid Current.project_id = project_id Gazetteer.import_gzs_from_shapefile( shapefile, , progress_tracker, projects ) end |