module Octokit::Client::ServiceStatus

Methods for the GitHub Status API

@see status.github.com/api

Constants

COMPONENTS_ROOT
STATUS_ROOT
SUMMARY_ROOT

Root for status API @private

Public Instance Methods

github_status() click to toggle source

Returns the current system status

@return [Sawyer::Resource] GitHub status @see www.githubstatus.com/api#status

# File lib/octokit/client/service_status.rb, line 27
def github_status
  get(STATUS_ROOT)
end
github_status_last_message() click to toggle source

Returns the last human communication, status, and timestamp.

@return [Sawyer::Resource] GitHub status last message @see www.githubstatus.com/api/#components

# File lib/octokit/client/service_status.rb, line 35
def github_status_last_message
  get(COMPONENTS_ROOT).components.first
end
github_status_messages() click to toggle source

Returns the most recent human communications with status and timestamp.

@return [Array<Sawyer::Resource>] GitHub status messages @see www.githubstatus.com/api#components

# File lib/octokit/client/service_status.rb, line 43
def github_status_messages
  get(COMPONENTS_ROOT).components
end
github_status_summary() click to toggle source

Returns a summary with the current status and the last status messages.

@return [<Sawyer::Resource>] GitHub status summary @see www.githubstatus.com/api#summory

# File lib/octokit/client/service_status.rb, line 19
def github_status_summary
  get(SUMMARY_ROOT)
end