Class: ShopifyTransporter::Pipeline::Magento::Order::Transactions

Inherits:
Stage
  • Object
show all
Defined in:
lib/shopify_transporter/pipeline/magento/order/transactions.rb

Instance Attribute Summary

Attributes inherited from Stage

#params

Instance Method Summary collapse

Methods inherited from Stage

#initialize

Constructor Details

This class inherits a constructor from ShopifyTransporter::Pipeline::Stage

Instance Method Details

#convert(input, record) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/shopify_transporter/pipeline/magento/order/transactions.rb', line 9

def convert(input, record)
  record.merge!(
    {
      transactions: transactions(input),
    }.stringify_keys
  )
end