class GraphqlUtil::Client

Public Instance Methods

query(parsed_query, variables: {}) click to toggle source

Performs a GraphQL Query and handles the response

@param [String] parsed_query GraphQL parsed query @param [Hash] variables GraphQL query params

@return [GraphQL::Client::Response] Request Response

Calls superclass method
# File lib/graphql_util/client.rb, line 14
def query(parsed_query, variables: {})
  super(parsed_query, variables: variables, context: {})
end