Sha256: 39340e61dc0b90b021ac667b7d4b4d600cd4b3958941712f48721bc70f1b76e6
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 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::Input::ContractorEntity::Create private def basic_block(&block) payload_block = block || default_payload_block proc { mutation(input: :CreateContractorEntityInput!) { createContractorEntity(input: :input, &payload_block) } } end def default_payload_block proc { clientMutationId errors { details fullMessages } item { ___Fragment__ContractorEntity } } end end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems