Sha256: ca222a29244e6a705f8a716d5a899f23bbdd7700f2a1ea0a64c6a055983b2778

Contents?: true

Size: 503 Bytes

Versions: 2

Compression:

Stored size: 503 Bytes

Contents

require "active_support/xml_mini/nokogiri"
require "curb"
require "digest/md5"
require "sucker/request"
require "sucker/response"
require "uri"

# = Sucker
#
# Sucker is a Ruby wrapper to the Amazon Product Advertising API.
module Sucker
  CURRENT_AMAZON_API_VERSION = "2010-09-01"

  # Initializes a request object
  #
  #   worker = Sucker.new(
  #     :locale => "us",
  #     :key    => "API KEY",
  #     :secret => "API SECRET")
  #
  def self.new(args={})
    Sucker::Request.new(args)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sucker-1.0.0.beta.3 lib/sucker.rb
sucker-1.0.0.beta.2 lib/sucker.rb