Sha256: 3ee2e09c28961d48da321660e75a17ab52d4502526a2164266797ccc5af62a3a

Contents?: true

Size: 1.96 KB

Versions: 8

Compression:

Stored size: 1.96 KB

Contents

require 'octokit/authentication'
require 'octokit/connection'
require 'octokit/gist'
require 'octokit/repository'
require 'octokit/request'

require 'octokit/client/commits'
require 'octokit/client/downloads'
require 'octokit/client/gists'
require 'octokit/client/issues'
require 'octokit/client/labels'
require 'octokit/client/milestones'
require 'octokit/client/objects'
require 'octokit/client/organizations'
require 'octokit/client/pub_sub_hubbub'
require 'octokit/client/pub_sub_hubbub/service_hooks'
require 'octokit/client/pulls'
require 'octokit/client/repositories'
require 'octokit/client/users'
require 'octokit/client/events'
require 'octokit/client/authorizations'
require 'octokit/client/refs'
require 'octokit/client/contents'
require 'octokit/client/markdown'
require 'octokit/client/emojis'
require 'octokit/client/statuses'

module Octokit
  class Client
    attr_accessor(*Configuration::VALID_OPTIONS_KEYS)

    def initialize(options={})
      options = Octokit.options.merge(options)
      Configuration::VALID_OPTIONS_KEYS.each do |key|
        send("#{key}=", options[key])
      end
    end

    include Octokit::Authentication
    include Octokit::Connection
    include Octokit::Request

    include Octokit::Client::Commits
    include Octokit::Client::Downloads
    include Octokit::Client::Gists
    include Octokit::Client::Issues
    include Octokit::Client::Labels
    include Octokit::Client::Milestones
    include Octokit::Client::Objects
    include Octokit::Client::Organizations
    include Octokit::Client::Pulls
    include Octokit::Client::PubSubHubbub
    include Octokit::Client::PubSubHubbub::ServiceHooks
    include Octokit::Client::Repositories
    include Octokit::Client::Users
    include Octokit::Client::Events
    include Octokit::Client::Authorizations
    include Octokit::Client::Refs
    include Octokit::Client::Contents
    include Octokit::Client::Markdown
    include Octokit::Client::Emojis
    include Octokit::Client::Statuses
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
octokit-1.18.0 lib/octokit/client.rb
octokit-1.17.1 lib/octokit/client.rb
octokit-1.17.0 lib/octokit/client.rb
octokit-1.15.1 lib/octokit/client.rb
octokit-1.15.0 lib/octokit/client.rb
octokit-1.14.0 lib/octokit/client.rb
octokit-1.13.0 lib/octokit/client.rb
octokit-1.12.0 lib/octokit/client.rb