mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
11 lines
195 B
Ruby
11 lines
195 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ExportJob < ApplicationJob
|
|
queue_as :exports
|
|
|
|
def perform(export_id)
|
|
export = Export.find(export_id)
|
|
|
|
Exports::Create.new(export:).call
|
|
end
|
|
end
|