Sha256: 01345aa6f342b987ad1ea99a5c6e487405bd981ced1238f21ce7c4a3ae9c29a4
Contents?: true
Size: 640 Bytes
Versions: 1
Compression:
Stored size: 640 Bytes
Contents
require 'net/http' require 'nokogiri' require 'openssl' require 'amazon_product/error' require 'amazon_product/hash_builder' require 'amazon_product/locale' require 'amazon_product/operations' require 'amazon_product/request' require 'amazon_product/response' # Amazon Product is a Ruby wrapper to the Amazon Product Advertising API. module AmazonProduct @requests = Hash.new # A request. # # Takes an Amazon locale as argument. This can be +ca+, +cn+, +de+, +fr+, # +it+, +jp+, +uk+, or +us+. # # The library will cache one request per locale. def self.[](locale) @requests[locale] ||= Request.new(locale) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
amazon_product-3.0.0.pre.2 | lib/amazon_product.rb |