Module: Octokit::EnterpriseAdminClient::AdminStats
- Included in:
- Octokit::EnterpriseAdminClient
- Defined in:
- lib/octokit/enterprise_admin_client/admin_stats.rb
Overview
Methods for the Enterprise Admin Stats API
Instance Method Summary collapse
- 
  
    
      #admin_comments_stats  ⇒ Sawyer::Resource 
    
    
  
  
  
  
  
  
  
  
  
    Get only comment-related stats. 
- 
  
    
      #admin_gists_stats  ⇒ Sawyer::Resource 
    
    
  
  
  
  
  
  
  
  
  
    Get only gist-related stats. 
- 
  
    
      #admin_hooks_stats  ⇒ Sawyer::Resource 
    
    
  
  
  
  
  
  
  
  
  
    Get only hooks-related stats. 
- 
  
    
      #admin_issues_stats  ⇒ Sawyer::Resource 
    
    
  
  
  
  
  
  
  
  
  
    Get only issue-related stats. 
- 
  
    
      #admin_milestones_stats  ⇒ Sawyer::Resource 
    
    
  
  
  
  
  
  
  
  
  
    Get only milestone-related stats. 
- 
  
    
      #admin_organization_stats  ⇒ Sawyer::Resource 
    
    
  
  
  
  
  
  
  
  
  
    Get only organization-related stats. 
- 
  
    
      #admin_pages_stats  ⇒ Sawyer::Resource 
    
    
  
  
  
  
  
  
  
  
  
    Get only pages-related stats. 
- 
  
    
      #admin_pull_requests_stats  ⇒ Sawyer::Resource 
    
    
  
  
  
  
  
  
  
  
  
    Get only pull request-related stats. 
- 
  
    
      #admin_repository_stats  ⇒ Sawyer::Resource 
    
    
  
  
  
  
  
  
  
  
  
    Get only repository-related stats. 
- 
  
    
      #admin_stats  ⇒ Sawyer::Resource 
    
    
  
  
  
  
  
  
  
  
  
    Get all available stats. 
- 
  
    
      #admin_users_stats  ⇒ Sawyer::Resource 
    
    
  
  
  
  
  
  
  
  
  
    Get only user-related stats. 
Instance Method Details
#admin_comments_stats ⇒ Sawyer::Resource
Get only comment-related stats
| 104 105 106 | # File 'lib/octokit/enterprise_admin_client/admin_stats.rb', line 104 def admin_comments_stats get_admin_stats 'comments' end | 
#admin_gists_stats ⇒ Sawyer::Resource
Get only gist-related stats
| 95 96 97 | # File 'lib/octokit/enterprise_admin_client/admin_stats.rb', line 95 def admin_gists_stats get_admin_stats 'gists' end | 
#admin_hooks_stats ⇒ Sawyer::Resource
Get only hooks-related stats
| 32 33 34 | # File 'lib/octokit/enterprise_admin_client/admin_stats.rb', line 32 def admin_hooks_stats get_admin_stats 'hooks' end | 
#admin_issues_stats ⇒ Sawyer::Resource
Get only issue-related stats
| 77 78 79 | # File 'lib/octokit/enterprise_admin_client/admin_stats.rb', line 77 def admin_issues_stats get_admin_stats 'issues' end | 
#admin_milestones_stats ⇒ Sawyer::Resource
Get only milestone-related stats
| 86 87 88 | # File 'lib/octokit/enterprise_admin_client/admin_stats.rb', line 86 def admin_milestones_stats get_admin_stats 'milestones' end | 
#admin_organization_stats ⇒ Sawyer::Resource
Get only organization-related stats
| 50 51 52 | # File 'lib/octokit/enterprise_admin_client/admin_stats.rb', line 50 def admin_organization_stats get_admin_stats 'orgs' end | 
#admin_pages_stats ⇒ Sawyer::Resource
Get only pages-related stats
| 41 42 43 | # File 'lib/octokit/enterprise_admin_client/admin_stats.rb', line 41 def admin_pages_stats get_admin_stats 'pages' end | 
#admin_pull_requests_stats ⇒ Sawyer::Resource
Get only pull request-related stats
| 68 69 70 | # File 'lib/octokit/enterprise_admin_client/admin_stats.rb', line 68 def admin_pull_requests_stats get_admin_stats 'pulls' end | 
#admin_repository_stats ⇒ Sawyer::Resource
Get only repository-related stats
| 23 24 25 | # File 'lib/octokit/enterprise_admin_client/admin_stats.rb', line 23 def admin_repository_stats get_admin_stats 'repos' end | 
#admin_stats ⇒ Sawyer::Resource
Get all available stats
| 14 15 16 | # File 'lib/octokit/enterprise_admin_client/admin_stats.rb', line 14 def admin_stats get_admin_stats 'all' end | 
#admin_users_stats ⇒ Sawyer::Resource
Get only user-related stats
| 59 60 61 | # File 'lib/octokit/enterprise_admin_client/admin_stats.rb', line 59 def admin_users_stats get_admin_stats 'users' end |