Class: SolidusImporter::Processors::Taxon

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#productObject

Returns the value of attribute product.



6
7
8
# File 'lib/solidus_importer/processors/taxon.rb', line 6

def product
  @product
end

#taxonomyObject

Returns the value of attribute taxonomy.



6
7
8
# File 'lib/solidus_importer/processors/taxon.rb', line 6

def taxonomy
  @taxonomy
end

Instance Method Details

#call(context) ⇒ Object



8
9
10
11
12
13
14
15
# File 'lib/solidus_importer/processors/taxon.rb', line 8

def call(context)
  @data = context.fetch(:data)

  self.product = context.fetch(:product)

  process_taxons_type
  process_taxons_tags
end