mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-09 08:47:11 -05:00
11 lines
293 B
Ruby
11 lines
293 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Trips::CalculateAllJob < ApplicationJob
|
|
queue_as :default
|
|
|
|
def perform(trip_id)
|
|
Trips::CalculatePathJob.perform_later(trip_id)
|
|
Trips::CalculateDistanceJob.perform_later(trip_id)
|
|
Trips::CalculateCountriesJob.perform_later(trip_id)
|
|
end
|
|
end
|