Class: Retailer::CostcoCredentials::Config
- Inherits:
-
Data
- Object
- Data
- Retailer::CostcoCredentials::Config
- Defined in:
- app/services/retailer/costco_credentials.rb
Overview
Resolved Costco catalog-API credentials for one region.
Instance Attribute Summary collapse
-
#client_id ⇒ String
readonly
Value for the
clientIdquery parameter. -
#client_identifier ⇒ String
readonly
Value for the
Client-Identifierrequest header. -
#price_endpoint ⇒ String
readonly
Full URL of the display-price-lite endpoint.
-
#warehouse ⇒ String
readonly
Warehouse number for the region (e.g. "894").
Instance Attribute Details
#client_id ⇒ String (readonly)
Returns value for the clientId query parameter.
30 |
# File 'app/services/retailer/costco_credentials.rb', line 30 Config = Data.define(:price_endpoint, :client_identifier, :client_id, :warehouse) |
#client_identifier ⇒ String (readonly)
Returns value for the Client-Identifier request header.
30 |
# File 'app/services/retailer/costco_credentials.rb', line 30 Config = Data.define(:price_endpoint, :client_identifier, :client_id, :warehouse) |
#price_endpoint ⇒ String (readonly)
Returns full URL of the display-price-lite endpoint.
30 |
# File 'app/services/retailer/costco_credentials.rb', line 30 Config = Data.define(:price_endpoint, :client_identifier, :client_id, :warehouse) |
#warehouse ⇒ String (readonly)
Returns warehouse number for the region (e.g. "894").
30 |
# File 'app/services/retailer/costco_credentials.rb', line 30 Config = Data.define(:price_endpoint, :client_identifier, :client_id, :warehouse) |