Permalink
Browse files

Require rexml/document which is needed for -f xml

  • Loading branch information...
1 parent 76a9f1b commit 18d1a3a1b7eae2a6756a6a734a04744fa7ae2547 @joelparkerhenderson joelparkerhenderson committed Oct 11, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 bin/httparty
View
@@ -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

0 comments on commit 18d1a3a

Please sign in to comment.