Sha256: d735babfd1b1dfacfcd705f0f3f708a0a144a9d1a9974e4901ee6150631de81b
Contents?: true
Size: 324 Bytes
Versions: 13
Compression:
Stored size: 324 Bytes
Contents
# frozen_string_literal: true module FlowcommerceSpree class ImportItemWorker < FlowIoWorker sidekiq_options retry: 3, queue: :flow_io def perform(variant_sku) variant = Spree::Variant.find_by sku: variant_sku return unless variant FlowcommerceSpree::ImportItem.run(variant) end end end
Version data entries
13 entries across 13 versions & 1 rubygems