Class: Rakumarket::GenreSearchClient

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

Constant Summary collapse

OPERATION =
"GenreSearch"
VERSION =
"2007-04-11"

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



127
128
129
130
131
# File 'lib/rakumarket/client.rb', line 127

def request
  response = super
  response = response.dup['Body']['GenreSearch'] if response['Body']
  GenreFamily.parse(response)
end