Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Require rexml/document which is needed for -f xml

  • Loading branch information...
commit 18d1a3a1b7eae2a6756a6a734a04744fa7ae2547 1 parent 76a9f1b
@SixArm SixArm authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  bin/httparty
View
1  bin/httparty
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.