lib/sucker/request.rb in sucker-2.0.0 vs lib/sucker/request.rb in sucker-2.1.0
- old
+ new
@@ -12,11 +12,10 @@
:uk => 'ecs.amazonaws.co.uk',
:de => 'ecs.amazonaws.de',
:ca => 'ecs.amazonaws.ca',
:fr => 'ecs.amazonaws.fr',
:jp => 'ecs.amazonaws.jp' }
-
LOCALES = HOSTS.keys
def_delegators :@config, :associate_tag, :associate_tag=,
:key, :key=,
:locale, :locale=,
@@ -28,10 +27,10 @@
#
# request = Sucker.new(
# :locale => :us,
# :key => amazon_key,
# :secret => amazon_secret)
- # :associate_tag => amazon_tag)
+ # :associate_tag => amazon_associate_tag)
#
def initialize(args = {})
@config = Config
args.each { |k, v| self.send("#{k}=", v) }
end