Sha256: d7df17d9f9cdd0af33848ab52c79eebdc2dfe3796d54aa37333c78cb42dfddfc

Contents?: true

Size: 856 Bytes

Versions: 1

Compression:

Stored size: 856 Bytes

Contents

require_relative 'models/product'

module Amazon
  module MWS

    class GetMatchingProductResponse < Response
      xml_name "GetMatchingProductResponse"
      namespace = "xmlns:"

      xml_reader :product, :as => [ProductRequest], :in => namespace + "GetMatchingProductResult/"
    end

    class GetMatchingProductForIdResult < Response
      xml_name "GetMatchingProductForIdResult"
      namespace = "xmlns:"

      xml_reader :products, :as => [ProductRequest], :in => namespace + "Products"

    end


    class GetMatchingProductForIdResponse < Response
      xml_name "GetMatchingProductForIdResponse"
      namespace = "xmlns:"

      xml_reader :results, :as => [GetMatchingProductForIdResult]
      xml_reader :products, :as => [ProductRequest], :in => namespace + "GetMatchingProductForIdResult/" + namespace + "Products"

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
amazon-mws-plus-0.1.3 lib/amazon/mws/response/product/get_matching_proudct.rb