dawarich/app/jobs/places/name_fetching_job.rb

12 lines
206 B
Ruby
Raw Normal View History

2025-07-12 05:21:38 -04:00
# 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