Class: ShopifyTransporter::Pipeline::Magento::Customer::AddressesAttribute
- Inherits:
-
Stage
- Object
- Stage
- ShopifyTransporter::Pipeline::Magento::Customer::AddressesAttribute
- Defined in:
- lib/shopify_transporter/pipeline/magento/customer/addresses_attribute.rb
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(input, record) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/shopify_transporter/pipeline/magento/customer/addresses_attribute.rb', line 10 def convert(input, record) addresses = magento_addresses_from(input) return unless addresses record.merge!(convert_addresses(addresses)) end |