Class: Rakumarket::GenreSearchClient

Inherits:
Client
  • Object
show all
Defined in:
lib/rakumarket/genre_search_client.rb

Constant Summary collapse

OPERATION =
"GenreSearch"
VERSION =
"2007-04-11"
VALID_REQUEST_KEYS =
[
  :developer_id,
  :affiliate_id,
  :operation,
  :call_back,
  :genre_id,
  :version,
  :return_immediate_parent
]
REQUEST_KEYS_TO_TRANSFORM =
{
  :developer_id => :developerId,
  :affiliate_id => :affiliateId,
  :call_back => :callBack,
  :genre_id => :genreId,
  :return_immediate_parent => :genrePath
}
REQUEST_VALUES_TO_TRANSFORM =
{
  :genrePath => {false => 1, true => 0}
}
RESPONSE_GENRE_KEYS_TO_TRANSFORM =
{
  :genreId => :genre_id,
  :genreName => :genre_name,
  :itemCount => :item_count,
  :genreLevel => :genre_level
}

Instance Attribute Summary

Attributes inherited from Client

#developer_id

Method Summary

Methods inherited from Client

#initialize, #request

Constructor Details

This class inherits a constructor from Rakumarket::Client