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:
parent
76a9f1b45b
commit
18d1a3a1b7
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue