mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
12 lines
264 B
Ruby
12 lines
264 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Tracks::IncrementalCheckJob < ApplicationJob
|
|
queue_as :tracks
|
|
|
|
def perform(user_id, point_id)
|
|
user = User.find(user_id)
|
|
point = Point.find(point_id)
|
|
|
|
Tracks::IncrementalProcessor.new(user, point).call
|
|
end
|
|
end
|