Sha256: 3c3d04c4b2d0adaeca0091a0ae79df72ff8e8df223e3a69c15a2941f3706649b

Contents?: true

Size: 1.38 KB

Versions: 1

Compression:

Stored size: 1.38 KB

Contents

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

require 'octokit/client/commits'
require 'octokit/client/issues'
require 'octokit/client/network'
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/timelines'
require 'octokit/client/users'

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::Issues
    include Octokit::Client::Network
    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::Timelines
    include Octokit::Client::Users
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
octokit-0.6.4 lib/octokit/client.rb