Class: SolidusImporter::Processors::ProductImages

Inherits:
Base
  • Object
show all
Defined in:
lib/solidus_importer/processors/product_images.rb

Instance Method Summary collapse

Methods inherited from Base

#options

Instance Method Details

#call(context) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/solidus_importer/processors/product_images.rb', line 6

def call(context)
  @data = context.fetch(:data)
  return unless product_image?

  product = context.fetch(:product)
  process_images(product)
end