Sha256: da7ef202202076f52ef5b659a2ecc32646f93fc877d2ea43b84f534edaeca077

Contents?: true

Size: 251 Bytes

Versions: 12

Compression:

Stored size: 251 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)
        post('/api/graphql', query)
      end

    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
bearcat-1.3.49 lib/bearcat/client/graph_ql.rb
bearcat-1.3.48 lib/bearcat/client/graph_ql.rb
bearcat-1.3.47 lib/bearcat/client/graph_ql.rb
bearcat-1.3.46 lib/bearcat/client/graph_ql.rb
bearcat-1.3.45 lib/bearcat/client/graph_ql.rb
bearcat-1.3.44 lib/bearcat/client/graph_ql.rb
bearcat-1.3.43 lib/bearcat/client/graph_ql.rb
bearcat-1.3.41 lib/bearcat/client/graph_ql.rb
bearcat-1.3.40 lib/bearcat/client/graph_ql.rb
bearcat-1.3.39 lib/bearcat/client/graph_ql.rb
bearcat-1.3.38 lib/bearcat/client/graph_ql.rb
bearcat-1.3.37 lib/bearcat/client/graph_ql.rb