Sha256: c31841c0f7065eb983d0f28c6460e815c0bb9829a08758b4cbca184bca4f8814

Contents?: true

Size: 385 Bytes

Versions: 2

Compression:

Stored size: 385 Bytes

Contents

module MWS
  module Orders
    module Parser
      class PaymentExecutionDetail < Collection
        def each(&blk)
          payment_execution_detail_item_nodes.each { |node| yield PaymentExecutionDetailItem.new(node) }
        end

        private

        def payment_execution_detail_item_nodes
          xpath('PaymentExecutionDetailItem')
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mws-orders-0.0.2 lib/mws/orders/parsers/payment_execution_detail.rb
mws-orders-0.0.1 lib/mws/orders/parsers/payment_execution_detail.rb