Sha256: a3ba7d6d8aa4a776426bd3bf3b7ea7bba179ab926fc0b868868f6f7df77faad0
Contents?: true
Size: 351 Bytes
Versions: 54
Compression:
Stored size: 351 Bytes
Contents
module Bearcat class Client < Footrest::Client # Request body format should be: { query: "query string" }. More info in README.md module GraphQL def graphql_query(query) if query.is_a?(String) query = { query: query } end post('/api/graphql', query) end end end end
Version data entries
54 entries across 54 versions & 1 rubygems