mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
Merge branch 'master' of https://github.com/SixArm/httparty into SixArm-master
This commit is contained in:
commit
dd9488456b
1 changed files with 1 additions and 0 deletions
|
@ -104,6 +104,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