Module: Zinc

Defined in:
lib/zinc.rb,
lib/zinc/model.rb,
lib/zinc/order.rb,
lib/zinc/address.rb,
lib/zinc/product.rb,
lib/zinc/resource.rb,
lib/zinc/shipping.rb,
lib/zinc/tracking.rb,
lib/zinc/account_status.rb,
lib/zinc/payment_method.rb,
lib/zinc/price_components.rb,
lib/zinc/merchant_order_id.rb,
lib/zinc/retailer_credentials.rb,
lib/zinc/seller_selection_criteria.rb

Defined Under Namespace

Classes: AccountStatus, Address, MerchantOrderId, Model, Order, PaymentMethod, PriceComponents, Product, Resource, RetailerCredentials, SellerSelectionCriteria, Shipping, Tracking

Constant Summary collapse

RETAILERS =
%w(
  aliexpress
  amazon amazon_uk amazon_ca amazon_de amazon_mx amazon_de
  costco
  walmart
  wayfair
).freeze

Class Attribute Summary collapse

Class Attribute Details

.access_tokenObject

Returns the value of attribute access_token.



13
14
15
# File 'lib/zinc.rb', line 13

def access_token
  @access_token
end

.api_pathObject

Returns the value of attribute api_path.



13
14
15
# File 'lib/zinc.rb', line 13

def api_path
  @api_path
end

.loggerObject

Returns the value of attribute logger.



13
14
15
# File 'lib/zinc.rb', line 13

def logger
  @logger
end