module Octokit::Client::ServiceStatus
Methods for the GitHub Status API
Constants
- COMPONENTS_ROOT
- STATUS_ROOT
- SUMMARY_ROOT
-
Root for status API @private
Public Instance Methods
Source
# File lib/octokit/client/service_status.rb, line 27 def github_status get(STATUS_ROOT) end
Returns the current system status
@return [Sawyer::Resource] GitHub status @see www.githubstatus.com/api#status
Source
# File lib/octokit/client/service_status.rb, line 35 def github_status_last_message get(COMPONENTS_ROOT).components.first end
Returns the last human communication, status, and timestamp.
@return [Sawyer::Resource] GitHub status last message @see www.githubstatus.com/api/#components
Source
# File lib/octokit/client/service_status.rb, line 43 def github_status_messages get(COMPONENTS_ROOT).components end
Returns the most recent human communications with status and timestamp.
@return [Array<Sawyer::Resource>] GitHub status messages @see www.githubstatus.com/api#components
Source
# File lib/octokit/client/service_status.rb, line 19 def github_status_summary get(SUMMARY_ROOT) end
Returns a summary with the current status and the last status messages.
@return [<Sawyer::Resource>] GitHub status summary @see www.githubstatus.com/api#summory