dawarich/app/jobs/places/name_fetching_job.rb
2025-07-12 11:21:38 +02:00

11 lines
206 B
Ruby

# frozen_string_literal: true
class Places::NameFetchingJob < ApplicationJob
queue_as :places
def perform(place_id)
place = Place.find(place_id)
Places::NameFetcher.new(place).call
end
end