Method: MarathonDeploy::HttpUtil.print
- Defined in:
- lib/marathon_deploy/http_util.rb
.print(response) ⇒ Object
74 75 76 77 78 79 80 |
# File 'lib/marathon_deploy/http_util.rb', line 74 def self.print(response) begin puts JSON.pretty_generate(JSON.parse(response.body)) rescue puts response end end |