demarches-normaliennes/app/jobs/export_job.rb
2021-10-04 12:57:37 +02:00

9 lines
148 B
Ruby

class ExportJob < ApplicationJob
queue_as :exports
discard_on ActiveRecord::RecordNotFound
def perform(export)
export.compute
end
end