Sha256: d78a597e459e3aaa3b9f80b3009c8e63b50486cfd711614f166fbd60d730af49
Contents?: true
Size: 368 Bytes
Versions: 2
Compression:
Stored size: 368 Bytes
Contents
# frozen_string_literal: true module GraphQL module Client module Query class MutationDocument def self.new(schema, name = nil) document = Document.new(schema) mutation = document.add_mutation(name) if block_given? yield mutation end mutation end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
graphql_client-0.4.1 | lib/graphql_client/query/mutation_document.rb |
graphql_client-0.3.3 | lib/graphql_client/query/mutation_document.rb |