Class: ShopifyTransporter::Pipeline::Magento::Order::LineItems
- Defined in:
- lib/shopify_transporter/pipeline/magento/order/line_items.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 16 |
# File 'lib/shopify_transporter/pipeline/magento/order/line_items.rb', line 10 def convert(input, record) record.merge!( { line_items: line_items(input), }.stringify_keys ) end |