Sha256: 9a962ed761da3a6b009460e9199268983a6d0e1f12d1062273fbd4bfee5349b3
Contents?: true
Size: 1.12 KB
Versions: 5
Compression:
Stored size: 1.12 KB
Contents
module Ecoportal module API class GraphQL module Mutation module ContractorEntity class Update < Ecoportal::API::GraphQL::Logic::Mutation field_name :updateContractorEntity class_resolver :payload_class, Ecoportal::API::GraphQL::Payload::ContractorEntity::Update class_resolver :input_class, Ecoportal::API::GraphQL::Model::ContractorEntity private def basic_block(&block) payload_block = block || default_payload_block Proc.new { mutation(input: :UpdateContractorEntityInput!) { updateContractorEntity(input: :input, &payload_block) } } end def default_payload_block Proc.new { clientMutationId errors { details fullMessages } item { ___Fragment__ContractorEntity } } end end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems