Method: MarathonDeploy::HttpUtil.print

Defined in:
lib/marathon_deploy/http_util.rb


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