mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
11 lines
206 B
Ruby
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
|