Class: MuffinMan::CatalogItems::V20201201

Inherits:
BaseApi show all
Defined in:
lib/muffin_man/catalog_items/v20201201.rb

Constant Summary collapse

API_VERSION =
"2020-12-01".freeze

Constants inherited from BaseApi

BaseApi::BASE_SEARCH_CATALOG_ITEMS_PARAMS, BaseApi::DEFAULT_IDENTIFERS_TYPE, BaseApi::GET_CATALOG_ITEM_PARAMS, BaseApi::SANDBOX_ASIN, BaseApi::SANDBOX_KEYWORDS, BaseApi::SANDBOX_MARKETPLACE_IDS, BaseApi::SEARCH_CATALOG_ITEMS_PARAMS

Constants inherited from SpApiClient

SpApiClient::ACCESS_TOKEN_URL, SpApiClient::AWS_REGION_MAP, SpApiClient::SERVICE_NAME, SpApiClient::UNPROCESSABLE_ENTITY_STATUS_CODE

Instance Attribute Summary

Attributes inherited from BaseApi

#asin, #keywords, #marketplace_ids, #params

Attributes inherited from SpApiClient

#access_token_cache_key, #aws_access_key_id, #aws_secret_access_key, #client_id, #client_secret, #config, #credentials, #local_var_path, #pii_data_elements, #query_params, #refresh_token, #region, #request_body, #request_type, #sandbox, #scope, #sts_iam_role_arn

Instance Method Summary collapse

Methods inherited from SpApiClient

#initialize

Constructor Details

This class inherits a constructor from MuffinMan::SpApiClient

Instance Method Details

#get_catalog_item(asin, marketplace_ids, params = {}) ⇒ Object



13
14
15
# File 'lib/muffin_man/catalog_items/v20201201.rb', line 13

def get_catalog_item(asin, marketplace_ids, params = {})
  super(asin, marketplace_ids, params, API_VERSION)
end

#search_catalog_items(keywords, marketplace_ids, params = {}) ⇒ Object



9
10
11
# File 'lib/muffin_man/catalog_items/v20201201.rb', line 9

def search_catalog_items(keywords, marketplace_ids, params = {})
  super(keywords, marketplace_ids, params, API_VERSION)
end