lib/jkl/rest_client.rb in jakal-0.1.3 vs lib/jkl/rest_client.rb in jakal-0.1.4
- old
+ new
@@ -29,10 +29,10 @@
puts("WARN: Connection refused: #{e}")
end
end
def get_xml_from(uri)
- Hpricot.XML get_from uri
+ Hpricot.XML(get_from(uri))
end
def document_from(text)
Hpricot(text)
end