Sha256: 021c732ed8e7f22feb84596a00b7e88d511c44cf827d1d2f2179a79c21b1eb6b
Contents?: true
Size: 736 Bytes
Versions: 2
Compression:
Stored size: 736 Bytes
Contents
require 'sucker/config' require 'sucker/request' require 'sucker/response' # = Sucker # # Sucker is a minimal Ruby wrapper to the Amazon Product Advertising API. module Sucker class << self # Initializes a request object. # # request = Sucker.new( # :locale => :us, # :key => api_key, # :secret => api_secret) # def new(args={}) Request.new(args) end # Configures locale-specific details. # # Sucker.configure do |c| # c.locale = :us # c.key = api_key # c.secret = api_secret # c.associate_tag = associate_tag # end # def configure(&block) Config.configure(&block) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sucker-2.1.0 | lib/sucker.rb |
sucker-2.0.0 | lib/sucker.rb |