demarches-normaliennes/app/jobs/archive_creation_job.rb

10 lines
221 B
Ruby
Raw Normal View History

class ArchiveCreationJob < ApplicationJob
queue_as :exports
def perform(procedure, archive, instructeur)
ProcedureArchiveService
.new(procedure)
.collect_files_archive(archive, instructeur)
end
end