Class: SolidusImporter::Processors::Taxon
- Defined in:
- lib/solidus_importer/processors/taxon.rb
Instance Attribute Summary collapse
-
#product ⇒ Object
Returns the value of attribute product.
-
#taxonomy ⇒ Object
Returns the value of attribute taxonomy.
Instance Method Summary collapse
Instance Attribute Details
#product ⇒ Object
Returns the value of attribute product.
6 7 8 |
# File 'lib/solidus_importer/processors/taxon.rb', line 6 def product @product end |
#taxonomy ⇒ Object
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 end |