Module: Octokit::Client::ServiceStatus
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
| Included In: | |
| Defined in: | lib/octokit/client/service_status.rb | 
Overview
Methods for the GitHub Status API
Constant Summary
- 
    COMPONENTS_ROOT =
    
 # File 'lib/octokit/client/service_status.rb', line 13'https://www.githubstatus.com/api/v2/components.json'
- 
    STATUS_ROOT =
    
 # File 'lib/octokit/client/service_status.rb', line 12'https://www.githubstatus.com/api/v2/status.json'
- 
    SUMMARY_ROOT =
    Internal use only
    # File 'lib/octokit/client/service_status.rb', line 11Root for status API 'https://www.githubstatus.com/api/v2/summary.json'
Instance Method Summary
- 
    
      #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. 
- 
    
      #github_status_summary  ⇒ <Sawyer::Resource> 
    
    Returns a summary with the current status and the last status messages. 
Instance Method Details
    #github_status  ⇒ Sawyer::Resource 
  
Returns the current system status
# File 'lib/octokit/client/service_status.rb', line 27
def github_status get(STATUS_ROOT) end
    #github_status_last_message  ⇒ Sawyer::Resource 
  
Returns the last human communication, status, and timestamp.
# File 'lib/octokit/client/service_status.rb', line 35
def get(COMPONENTS_ROOT).components.first end
    #github_status_messages  ⇒ Array<Sawyer::Resource> 
  
Returns the most recent human communications with status and timestamp.
# File 'lib/octokit/client/service_status.rb', line 43
def get(COMPONENTS_ROOT).components end
    #github_status_summary  ⇒ <Sawyer::Resource> 
  
Returns a summary with the current status and the last status messages.
# File 'lib/octokit/client/service_status.rb', line 19
def github_status_summary get(SUMMARY_ROOT) end