mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
11 lines
235 B
Ruby
11 lines
235 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ReverseGeocodingJob < ApplicationJob
|
|
queue_as :reverse_geocoding
|
|
|
|
def perform(point_id)
|
|
return unless REVERSE_GEOCODING_ENABLED
|
|
|
|
ReverseGeocoding::FetchData.new(point_id).call
|
|
end
|
|
end
|