lib/vacuum/response.rb in vacuum-1.1.0 vs lib/vacuum/response.rb in vacuum-1.1.1
- old
+ new
@@ -4,7 +4,11 @@
module Vacuum
class Response < SimpleDelegator
def to_h
MultiXml.parse(body)
end
+
+ def body
+ __getobj__.body.force_encoding('UTF-8')
+ end
end
end