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