Switch to using strings, rather than symbols for serach parameters

This commit is contained in:
Dan Milne
2024-02-05 23:16:37 +11:00
parent 00e6b251cc
commit 70cdeef9ac
3 changed files with 46 additions and 40 deletions

View File

@@ -9,7 +9,7 @@ module Paapi
class Error < StandardError; end
class NotImplemented < StandardError; end
SEARCH_PARAMS = %i[Keywords Actor Artist Author Brand Title].freeze
SEARCH_PARAMS = %w[Keywords Actor Artist Author Brand Title].freeze
DEFAULT_PARTNER_TYPE = "Associates"
DEFAULT_MARKET = :us
DEFAULT_CONDITION = "Any"