Class: GithubAnalyze::Client
- Inherits:
-
Object
- Object
- GithubAnalyze::Client
- Defined in:
- lib/github_analyze/client.rb
Instance Method Summary collapse
-
#initialize(github_authentication_token:) ⇒ Client
constructor
A new instance of Client.
- #organization(name:) ⇒ Object
Constructor Details
#initialize(github_authentication_token:) ⇒ Client
Returns a new instance of Client.
6 7 8 |
# File 'lib/github_analyze/client.rb', line 6 def initialize(github_authentication_token:) @github_authentication_token = github_authentication_token end |
Instance Method Details
#organization(name:) ⇒ Object
10 11 12 |
# File 'lib/github_analyze/client.rb', line 10 def organization(name:) GithubAnalyze::Organization.new(name: name, client: graphql_client) end |