You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cartodb/lib/resque/geocoder_jobs.rb

12 lines
283 B

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