I want you to execute graphql query on Prismic repository with ruby code.
I have followed Prismic’s documentation for PHP, Laravel, Java, .NET, and Ruby has moved to GitHub - Prismic article by which I was able to query the API, but not graphql query.
I have also tried to use graphql-client ruby gem, but that too doesn't help and throwing responding with error {"errors"=>[{"message"=>"404 Not Found"}]}
Can anyone help how can execute graphql query on prismic repository?