lib/sappy/response.rb in sappy-0.1.1 vs lib/sappy/response.rb in sappy-0.1.2

- old
+ new

@@ -12,10 +12,10 @@ def initialize(xml) @xml = xml end def parse - hash = XmlSimple.xml_in(@xml.to_s) + hash = XmlSimple.xml_in(@xml.to_s, 'KeepRoot' => false) if hash["stat"] == "fail" error = hash["err"] message = error.first["msg"] case code = error.first["code"] when "AUTH_EXPIRED"