cartodb-4.42/lib/resque/geocoder_jobs.rb
2024-04-06 05:25:13 +00:00

12 lines
283 B
Ruby

require_relative './base_job'
module Resque
class GeocoderJobs < BaseJob
@queue = :geocodings
def self.perform(options = {})
geocoding = run_action(options, @queue, lambda { |options| geocoding = Geocoding[options.symbolize_keys[:job_id]].run! })
end
end
end