Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jamespeterschinner committed Dec 28, 2017
1 parent d128c87 commit 9cf9aee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/source/health.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ Example:
>>> rsp = run(client.list_services())
>>> rsp
# <Status [200]: services>
rsp.services
>>> rsp.services
# (<Service: id=fxtrade-practice-rest-api>,
# <Service: id=fxtrade-practice-streaming-api>,
# <Service: id=fxtrade-rest-api>,
# <Service: id=fxtrade-streaming-api>)
rsp.services.get_id('fxtrade-practice-streaming-api')
>>> rsp.services.get_id('fxtrade-practice-streaming-api')
# <Service: id=fxtrade-practice-streaming-api>
rsp.services.get_id('fxtrade-practice-streaming-api').current_event.status.description
>>> rsp.services.get_id('fxtrade-practice-streaming-api').current_event.status.description
# 'The service is up'

0 comments on commit 9cf9aee

Please sign in to comment.