lib/sucker.rb in sucker-2.0.0.pre.5 vs lib/sucker.rb in sucker-2.0.0

- old
+ new

@@ -2,11 +2,11 @@ require 'sucker/request' require 'sucker/response' # = Sucker # -# Sucker is a Ruby wrapper to the Amazon Product Advertising API. +# Sucker is a minimal Ruby wrapper to the Amazon Product Advertising API. module Sucker class << self # Initializes a request object. # # request = Sucker.new( @@ -26,9 +26,9 @@ # c.secret = api_secret # c.associate_tag = associate_tag # end # def configure(&block) - block.call(Config) + Config.configure(&block) end end end