mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
12 lines
186 B
Ruby
12 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
|