mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
11 lines
199 B
Ruby
11 lines
199 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Users::ExportDataJob < ApplicationJob
|
|
queue_as :exports
|
|
|
|
def perform(user_id)
|
|
user = User.find(user_id)
|
|
|
|
Users::ExportData.new(user).export
|
|
end
|
|
end
|