48dca8bad1
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
9 lines
221 B
Ruby
9 lines
221 B
Ruby
class ArchiveCreationJob < ApplicationJob
|
|
queue_as :exports
|
|
|
|
def perform(procedure, archive, instructeur)
|
|
ProcedureArchiveService
|
|
.new(procedure)
|
|
.collect_files_archive(archive, instructeur)
|
|
end
|
|
end
|