Class: Facilities::FacilityLocationDownloadJob

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Job
Defined in:
app/sidekiq/facilities/facility_location_download_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(type) ⇒ Object



7
8
9
10
11
12
13
# File 'app/sidekiq/facilities/facility_location_download_job.rb', line 7

def perform(type)
  @type = type
  ActiveRecord::Base.transaction do
    process_changes
    process_deletes
  end
end