Sha256: f4cfcc55ad421605fd2bcdc4c84bd3e93b61d261ff854f285498a72362b63395
Contents?: true
Size: 416 Bytes
Versions: 5
Compression:
Stored size: 416 Bytes
Contents
# frozen_string_literal: true module GQLi # Module for creating a Github GraphQL client module Github # Creates a Github GraphQL client def self.create(access_token, validate_query: true) GQLi::Client.new( 'https://api.github.com/graphql', headers: { 'Authorization' => "Bearer #{access_token}" }, validate_query: validate_query ) end end end
Version data entries
5 entries across 5 versions & 1 rubygems