Sha256: dcd3f8dfcd096df03815d658ec619bb82fd32ae1dd6f20df7cbee3a77a1a4e68

Contents?: true

Size: 1.79 KB

Versions: 2

Compression:

Stored size: 1.79 KB

Contents

# encoding: utf-8

require_relative 'api'

module Github
  class Client < API
    require_all 'github_api2/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

2 entries across 2 versions & 1 rubygems

Version Path
github_api2-1.0.1 lib/github_api2/client.rb
github_api2-1.0.0 lib/github_api2/client.rb