2020-09-01 23:16:17 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
|
|
|
|
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE
|
2019-11-07 21:16:21 +00:00
|
|
|
class ImportCreationJob < ApplicationJob
|
|
|
|
queue_as :default
|
|
|
|
|
2020-09-01 23:16:17 +00:00
|
|
|
def perform(import_request, current_user)
|
|
|
|
import_request.execute_safe(current_user)
|
2019-11-07 21:16:21 +00:00
|
|
|
end
|
|
|
|
end
|