Sha256: 8dcee11a6d2737400cc86768ef5d32143ba0bceb2fb0f5e503f939e1a017e114

Contents?: true

Size: 1.79 KB

Versions: 4

Compression:

Stored size: 1.79 KB

Contents

# encoding: utf-8

require_relative 'api'

module Github
  class Client < API
    require_all 'github_api/client',
                'activity',
                'authorizations',
                'emojis',
                'gists',
                'gitignore',
                'git_data',
                'issues',
                'markdown',
                'meta',
                'orgs',
                'projects',
                'pull_requests',
                'repos',
                'say',
                'scopes',
                'search',
                'users'

    # Serving up the 'social' in Social Coding, the Activity APIs
    # provide access to notifications, subscriptions, and timelines.
    namespace :activity

    namespace :emojis

    namespace :gists

    namespace :gitignore
    alias :git_ignore :gitignore

    # The Git Database API gives you access to read and write raw Git objects
    # to your Git database on GitHub and to list and update your references
    # (branch heads and tags).
    namespace :git_data
    alias :git :git_data

    namespace :issues

    namespace :markdown

    namespace :meta

    # An API for users to manage their own tokens. You can only access your own
    # tokens, and only through Basic Authentication.
    namespace :authorizations
    alias :oauth :authorizations
    alias :auth :authorizations

    namespace :orgs
    alias :organizations :orgs

    namespace :projects

    namespace :pull_requests
    alias :pulls :pull_requests

    namespace :repos
    alias :repositories :repos

    namespace :say
    alias :octocat :say

    namespace :scopes

    namespace :search

    # Many of the resources on the users API provide a shortcut for getting
    # information about the currently authenticated user.
    namespace :users
  end # Client
end # Github

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
github_api-0.19.0 lib/github_api/client.rb
lingfennan-github_api-0.18.2 lib/github_api/client.rb
github_api-0.18.2 lib/github_api/client.rb
github_api-0.18.1 lib/github_api/client.rb