Class: Octokit::Client
- Inherits:
-
Object
- Object
- Octokit::Client
- Includes:
- Authentication, Commits, Connection, Issues, Network, Objects, Organizations, Pulls, Repositories, Request, Timelines, Users
- Defined in:
- lib/octokit/client.rb,
lib/octokit/client/pulls.rb,
lib/octokit/client/users.rb,
lib/octokit/client/issues.rb,
lib/octokit/client/commits.rb,
lib/octokit/client/network.rb,
lib/octokit/client/objects.rb,
lib/octokit/client/request.rb,
lib/octokit/client/timelines.rb,
lib/octokit/client/connection.rb,
lib/octokit/client/repositories.rb,
lib/octokit/client/organizations.rb,
lib/octokit/client/authentication.rb
Defined Under Namespace
Modules: Authentication, Commits, Connection, Issues, Network, Objects, Organizations, Pulls, Repositories, Request, Timelines, Users
Constant Summary
Constants included from Users
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from Users
#add_email, #add_key, #emails, #follow!, #followers, #following, #follows?, #keys, #remove_email, #remove_key, #search_users, #unfollow!, #update_user, #user, #watched
Methods included from Timelines
Methods included from Repositories
#add_collaborator, #add_deploy_key, #branches, #collaborators, #contributors, #create_repository, #delete_repository, #deploy_keys, #fork!, #languages, #network, #pushable, #remove_collaborator, #remove_deploy_key, #repositories, #repository, #search_repositories, #set_private!, #set_public!, #tags, #teams, #unwatch!, #update_repository, #watch!, #watchers
Methods included from Pulls
#create_pull_request, #pull_request, #pull_requests
Methods included from Organizations
#add_team_member, #add_team_repository, #create_team, #delete_team, #organization, #organization_members, #organization_repositories, #organizations, #remove_team_member, #remove_team_repository, #team, #team_members, #team_repositories, #teams, #update_organization, #update_team
Methods included from Objects
#blob, #blob_metadata, #blobs, #raw, #tree, #tree_metadata
Methods included from Network
Methods included from Issues
#add_comment, #add_label, #close_issue, #create_issue, #issue, #issue_comments, #issues, #issues_labeled, #labels, #remove_label, #reopen_issue, #search_issues, #update_issue
Methods included from Commits
Methods included from Request
Methods included from Authentication
#authenticated?, #authentication
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
9 10 11 12 13 14 |
# File 'lib/octokit/client.rb', line 9 def initialize(={}) = Octokit..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |