lib/sucker/response.rb in sucker-0.4.0 vs lib/sucker/response.rb in sucker-0.5.0
- old
+ new
@@ -9,9 +9,9 @@
self.code = curl.response_code
self.time = curl.total_time
end
def to_h
- Crack::XML.parse(body)
+ XmlSimple.xml_in(body, { "ForceArray" => false })
end
end
end