Sha256: bdc06f328c6451a5eb0557b10cc9e55a5c8d14bc517405c46cbe6f2a15b10f5f
Contents?: true
Size: 1.12 KB
Versions: 16
Compression:
Stored size: 1.12 KB
Contents
module Ecoportal module API class GraphQL module Mutation module ContractorEntity class Create < Ecoportal::API::GraphQL::Logic::Mutation field_name :createContractorEntity class_resolver :payload_class, Ecoportal::API::GraphQL::Payload::ContractorEntity::Create class_resolver :input_class, Ecoportal::API::GraphQL::Model::ContractorEntity private def basic_block(&block) payload_block = block || default_payload_block Proc.new { mutation(input: :CreateContractorEntityInput!) { createContractorEntity(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
16 entries across 16 versions & 1 rubygems