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.
|
require_relative './base_job'
|
|
|
|
module Resque
|
|
class ImporterJobs < BaseJob
|
|
@queue = :imports
|
|
|
|
def self.perform(options = {})
|
|
run_action(options, @queue, lambda { |options| DataImport[options.symbolize_keys[:job_id]].run_import! })
|
|
end
|
|
end
|
|
end |