Sha256: f07ffdbfc5cb97d3c4dacd77dc0d1272036567e55ee3f1625085a81e93655074

Contents?: true

Size: 355 Bytes

Versions: 3

Compression:

Stored size: 355 Bytes

Contents

# frozen_string_literal: true

require 'mws/orders/collection'
require 'mws/orders/payment_execution_detail_item'

module MWS
  module Orders
    class PaymentExecutionDetail < Collection
      def each
        xpath('PaymentExecutionDetailItem').each do |node|
          yield PaymentExecutionDetailItem.new(node)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mws-orders-0.4.0 lib/mws/orders/payment_execution_detail.rb
mws-orders-0.3.1 lib/mws/orders/payment_execution_detail.rb
mws-orders-0.3.0 lib/mws/orders/payment_execution_detail.rb