Sha256: 3e799b4186fcb451ce7a1c59c9741d45ed04f9b656b15083b8032e4bb563dd5b
Contents?: true
Size: 356 Bytes
Versions: 10
Compression:
Stored size: 356 Bytes
Contents
module CsvImportMagic class ImporterWorker include ::Sidekiq::Worker sidekiq_options retry: 1 def perform(options) options.symbolize_keys! csv_parsed = ::CsvImportMagic::Importer.new(options[:importer_id], options[:resources]).call CsvImportMagic::Failure.new(csv_parsed, options[:importer_id]).generate end end end
Version data entries
10 entries across 10 versions & 1 rubygems