1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

Require rexml/document which is needed for -f xml

This commit is contained in:
SixArm 2011-10-10 23:50:39 -07:00
parent 76a9f1b45b
commit 18d1a3a1b7

View file

@ -100,6 +100,7 @@ else
puts YAML.dump(response.delegate)
end
when :xml
require 'rexml/document'
REXML::Document.new(response.body).write(STDOUT, 2)
puts
else