Add an item class to process search and get_items response

This commit is contained in:
Dan Milne
2019-09-17 22:53:32 +10:00
parent 7e50e531ad
commit 75d8e0e7ab
2 changed files with 50 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ require 'paapi/response'
module Paapi
class Error < StandardError; end
class NotImplemented < StandardError; end
SEARCH_PARAMS = %i[keywords actor, artist, author, brand title].freeze
DEFAULT_PARTNER_TYPE = 'Associates'
DEFAULT_MARKET = :us
DEFAULT_RESOURCES = [