mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-14 21:24:54 +08:00
12 lines
440 B
Ruby
12 lines
440 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class ProjectsJsonExportJob < ApplicationJob
|
||
|
def perform(task_ids, callback, user)
|
||
|
projects_json_export_service = ProjectsJsonExportService.new(task_ids,
|
||
|
callback,
|
||
|
user)
|
||
|
projects_json_export_service.generate_data
|
||
|
projects_json_export_service.post_request
|
||
|
end
|
||
|
end
|