Class: Rakumarket::ItemRankingClient

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

Defined Under Namespace

Classes: AgeRange, Gender

Constant Summary collapse

OPERATION =
"ItemRanking"
VERSION =
"2010-08-05"

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



181
182
183
184
185
# File 'lib/rakumarket/client.rb', line 181

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