class GitHub::Client
- GitHub::Client
- Reference
- Object
Overview
The basic class which represents a GitHub client / user the client will be used to send REST requests to the GitHub API.
client = GitHub::Client.new(username: "TheOnlyArtz", token: "4f10YOU8654d442b5be610054e9sWISH7a813c4")
With this client you will be able to make API requests to GitHub
Included Modules
- GitHub::REST::Artifacts
- GitHub::REST::Blobs
- GitHub::REST::Commits
- GitHub::REST::Gists
- GitHub::REST::GitHubApps
- GitHub::REST::Installations
- GitHub::REST::Interactions
- GitHub::REST::Issues
- GitHub::REST::References
- GitHub::REST::Secrets
- GitHub::REST::SelfHostedWorkflowRunners
- GitHub::REST::Tags
- GitHub::REST::Trees
- GitHub::REST::WorkflowJobs
- GitHub::REST::WorkflowRuns
- GitHub::REST::Workflows
Defined in:
githubcr/client.crConstructors
Instance Method Summary
-
#get_auth_header
This method will generate the auth header to GitHub