Class: Rakumarket::ItemSearchClient

Inherits:
Client show all
Defined in:
lib/rakumarket/client.rb

Defined Under Namespace

Classes: CountryCode, NextDayAreaCode, PurchaseType, SortOrder

Constant Summary collapse

OPERATION =
"ItemSearch"
VERSION =
"2010-09-15"

Instance Attribute Summary

Attributes inherited from Client

#developer_id

Instance Method Summary collapse

Methods inherited from Client

#initialize, request

Methods included from SpitterMethods

extended, #inspect_options, #parameter, #parameters, #parse, #rules

Constructor Details

This class inherits a constructor from Rakumarket::Client

Instance Method Details

#requestObject



109
110
111
112
113
# File 'lib/rakumarket/client.rb', line 109

def request
  response = super
  response = response.dup['Body']['ItemSearch']
  ItemList.parse(response)
end