cartodb/lib/resque/automatic_geocoder_jobs.rb

11 lines
285 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
require_relative './base_job'
module Resque
class AutomaticGeocoderJobs < BaseJob
@queue = :automatic_geocodings
def self.perform(options = {})
run_action(options, @queue, lambda { |options| AutomaticGeocoding[options.symbolize_keys[:job_id]].run })
end
end
end