houdini/app/jobs/import_creation_job.rb
2020-09-01 21:32:32 -05:00

11 lines
339 B
Ruby

# 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
class ImportCreationJob < ApplicationJob
queue_as :default
def perform(import_request, current_user)
import_request.execute_safe(current_user)
end
end