Module: Unlearn::GitHubAPI::Query

Defined in:
lib/unlearn/github_api/query.rb

Constant Summary collapse

Repos =
Unlearn::GitHubAPI::Client.parse <<-'GRAPHQL'
  query ($endCursor: String) {
    viewer {
      repositories(first: 100, after: $endCursor, orderBy: {field: NAME, direction: ASC}) {
        nodes {
          nameWithOwner
        }
        pageInfo {
          endCursor
          hasNextPage
        }
      }
    }
  }
GRAPHQL