lib/peddler/parser.rb in peddler-0.12.7 vs lib/peddler/parser.rb in peddler-0.13.0

- old
+ new

@@ -5,10 +5,10 @@ # @api private module Parser class << self # The inevitable messiness of massaging data produced by a motley army of # Amazon developers - def parse(res, encoding = 'ISO-8859-1') + def new(res, encoding = 'ISO-8859-1') # Don't parse if there's no body return res unless res.body content_type = res.headers['Content-Type'] if content_type.start_with?('text/xml')