Class: GithubAnalyze::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/github_analyze/client.rb

Instance Method Summary collapse

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