demarches-normaliennes/app/jobs/export_procedure_job.rb

7 lines
267 B
Ruby
Raw Normal View History

class ExportProcedureJob < ApplicationJob
def perform(procedure, instructeur, export_format)
procedure.prepare_export_download(export_format)
InstructeurMailer.notify_procedure_export_available(instructeur, procedure, export_format).deliver_later
2019-09-30 11:57:21 +02:00
end
end