2021-03-30 10:12:18 +02:00
|
|
|
class ArchiveCreationJob < ApplicationJob
|
2021-04-21 16:54:15 +02:00
|
|
|
def perform(procedure, archive, instructeur)
|
2021-03-30 10:12:18 +02:00
|
|
|
ProcedureArchiveService
|
|
|
|
.new(procedure)
|
2021-04-21 16:54:15 +02:00
|
|
|
.collect_files_archive(archive, instructeur)
|
2021-03-30 10:12:18 +02:00
|
|
|
end
|
|
|
|
end
|