mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
13 lines
231 B
Ruby
13 lines
231 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Users::ExportDataJob < ApplicationJob
|
|
queue_as :exports
|
|
|
|
sidekiq_options retry: false
|
|
|
|
def perform(user_id)
|
|
user = User.find(user_id)
|
|
|
|
Users::ExportData.new(user).export
|
|
end
|
|
end
|