Module: FindGithubEmail

Defined in:
lib/find_github_email/client.rb,
lib/find_github_email/errors.rb,
lib/find_github_email/finder.rb,
lib/find_github_email/queries.rb,
lib/find_github_email/version.rb,
lib/find_github_email/github_access_token.rb

Overview

rubocop:disable Style/Documentation

Defined Under Namespace

Modules: Errors Classes: Finder, GithubAccessToken

Constant Summary collapse

HelloQuery =
Client.parse "  {\n    viewer {\n      login\n    }\n  }\n"
EmailQuery =
Client.parse "  query($username: String!) {\n    user(login: $username) {\n      email\n      repositories(first: 100) {\n        ...userFields\n      }\n      repositoriesContributedTo(first: 100) {\n        ...userFields\n      }\n      topRepositories(\n        first: 100,\n        orderBy: {field:UPDATED_AT, direction:ASC}\n      ) {\n        ...userFields\n      }\n    }\n  }\n\n  fragment userFields on RepositoryConnection {\n    nodes {\n      refs(refPrefix: \"refs/heads/\", first: 100) {\n        nodes {\n          target {\n            ... on Commit {\n              author {\n                email\n                name\n                user {\n                  login\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n"
VERSION =
"1.0.0"