mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
11 lines
186 B
Ruby
11 lines
186 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Import::ProcessJob < ApplicationJob
|
|
queue_as :imports
|
|
|
|
def perform(import_id)
|
|
import = Import.find(import_id)
|
|
|
|
import.process!
|
|
end
|
|
end
|