class GdsApi::PublishingApi

def graphql_query(query)

Returns:
  • (Hash) - A response with the result of the GraphQL query.

Parameters:
  • query (String) --
def graphql_query(query)
  post_json("#{endpoint}/graphql", query:).to_hash
end