Class: DwcOccurrenceUpsertJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- DwcOccurrenceUpsertJob
- Defined in:
- app/jobs/dwc_occurrence_upsert_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(collection_object) ⇒ Object
4 5 6 7 |
# File 'app/jobs/dwc_occurrence_upsert_job.rb', line 4 def perform(collection_object) collection_object&.collecting_event&.send(:set_cached) collection_object.set_dwc_occurrence end |