Module: Gitlab::GithubImport::Clients::SearchRepos

Included in:
Gitlab::GithubImport::Client
Defined in:
lib/gitlab/github_import/clients/search_repos.rb

Instance Method Summary collapse

Instance Method Details

#count_repos_by_relation_type_graphql(options) ⇒ Object



11
12
13
# File 'lib/gitlab/github_import/clients/search_repos.rb', line 11

def count_repos_by_relation_type_graphql(options)
  graphql_request(count_by_relation_type_query(options))
end

#search_repos_by_name_graphql(name, options = {}) ⇒ Object



7
8
9
# File 'lib/gitlab/github_import/clients/search_repos.rb', line 7

def search_repos_by_name_graphql(name, options = {})
  graphql_request(graphql_search_repos_body(name, options))
end