Module: Octokit::Client::ServiceStatus
- Included in:
- Octokit::Client
- Defined in:
- lib/octokit/client/service_status.rb
Overview
Methods for the GitHub Status API
Instance Method Summary collapse
-
#github_status ⇒ Sawyer::Resource
Returns the current system status.
-
#github_status_last_message ⇒ Sawyer::Resource
Returns the last human communication, status, and timestamp.
-
#github_status_messages ⇒ Array<Sawyer::Resource>
Returns the most recent human communications with status and timestamp.
Instance Method Details
#github_status ⇒ Sawyer::Resource
Returns the current system status
17 18 19 |
# File 'lib/octokit/client/service_status.rb', line 17 def github_status get(STATUS_ROOT).rels[:status].get.data end |
#github_status_last_message ⇒ Sawyer::Resource
Returns the last human communication, status, and timestamp.
25 26 27 |
# File 'lib/octokit/client/service_status.rb', line 25 def get(STATUS_ROOT).rels[:last_message].get.data end |
#github_status_messages ⇒ Array<Sawyer::Resource>
Returns the most recent human communications with status and timestamp.
33 34 35 |
# File 'lib/octokit/client/service_status.rb', line 33 def get(STATUS_ROOT).rels[:messages].get.data end |