lib/sucker.rb in sucker-0.6.4 vs lib/sucker.rb in sucker-0.6.5
- old
+ new
@@ -6,9 +6,11 @@
require "sucker/response"
# = Sucker
# Sucker is a paper-thin Ruby wrapper to the Amazon Product Advertising API.
module Sucker
+ $KCODE = "u" if RUBY_VERSION.include?("1.8")
+
AMAZON_API_VERSION = "2009-11-01"
def self.new(args={})
Sucker::Request.new(args)
end