Sha256: c3baaaedbb16e5fede3b36f88a6fde3d803f24d06db2b06d74564b9e691d1cdd
Contents?: true
Size: 223 Bytes
Versions: 3
Compression:
Stored size: 223 Bytes
Contents
class ImportJob < ActiveJob::Base queue_as :default def perform(importer_key, filepath) class_name = RailsImporter.importer_class(importer_key) class_name.new(filepath).process unless class_name.nil? end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rails_importer-0.2.1 | app/jobs/import_job.rb |
rails_importer-0.2.0 | app/jobs/import_job.rb |
rails_importer-0.1.0 | app/jobs/import_job.rb |