SpeciesFileGroup/taxonworks

View on GitHub
app/jobs/dwc_occurrence_upsert_job.rb

Summary

Maintainability
A
0 mins
Test Coverage
class DwcOccurrenceUpsertJob < ApplicationJob
  queue_as :dwc_occurrence_index

  def perform(collection_object)
    collection_object&.collecting_event&.send(:set_cached)
    collection_object.set_dwc_occurrence
  end
end