Class: Rakumarket::ItemLookupClient
- Defined in:
- lib/rakumarket/client.rb
Constant Summary collapse
- OPERATION =
"ItemCodeSearch"- VERSION =
"2010-08-05"
Instance Attribute Summary
Attributes inherited from Client
Instance Method Summary collapse
Methods inherited from Client
Methods included from SpitterMethods
extended, #inspect_options, #parameter, #parameters, #parse, #rules
Constructor Details
This class inherits a constructor from Rakumarket::Client
Instance Method Details
#request ⇒ Object
144 145 146 147 148 |
# File 'lib/rakumarket/client.rb', line 144 def request response = super response = response.dup['Body']['ItemCodeSearch']['Items']['Item'].first if response['Body'] && response['Body']['ItemCodeSearch'] Item.parse(response) end |