mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
12 lines
193 B
Ruby
12 lines
193 B
Ruby
|
|
# frozen_string_literal: true
|
||
|
|
|
||
|
|
class TelemetrySendingJob < ApplicationJob
|
||
|
|
queue_as :default
|
||
|
|
|
||
|
|
def perform
|
||
|
|
data = Telemetry::Gather.new.call
|
||
|
|
|
||
|
|
Telemetry::Send.new(data).call
|
||
|
|
end
|
||
|
|
end
|