Class: ShopifyTransporter::Pipeline::Magento::Customer::TopLevelAttributes
- Inherits:
-
Stage
- Object
- Stage
- ShopifyTransporter::Pipeline::Magento::Customer::TopLevelAttributes
- Defined in:
- lib/shopify_transporter/pipeline/magento/customer/top_level_attributes.rb
Defined Under Namespace
Classes: TopLevelAttributesAccumulator
Instance Attribute Summary
Attributes inherited from Stage
Instance Method Summary collapse
Methods inherited from Stage
Constructor Details
This class inherits a constructor from ShopifyTransporter::Pipeline::Stage
Instance Method Details
#convert(hash, record) ⇒ Object
10 11 12 13 14 |
# File 'lib/shopify_transporter/pipeline/magento/customer/top_level_attributes.rb', line 10 def convert(hash, record) accumulator = TopLevelAttributesAccumulator.new(record) accumulator.accumulate(hash) record.merge!(accumulator.output) end |