lib/td/client/api/server_status.rb in td-client-0.8.68 vs lib/td/client/api/server_status.rb in td-client-0.8.69
- old
+ new
@@ -4,9 +4,10 @@
####
## Server Status API
##
# => status:String
+ # @return [String] HTTP status code
def server_status
code, body, res = get('/v3/system/server_status')
if code != "200"
return "Server is down (#{code})"
end