Class: DwcOccurrenceUpsertJob

Inherits:
ApplicationJob show all
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