Sha256: fb89374dc3ee3ea0ca604874d4b4cbb475cf31cd169be4f8d806744b6ac73b6b
Contents?: true
Size: 1.1 KB
Versions: 8
Compression:
Stored size: 1.1 KB
Contents
module Ecoportal module API class GraphQL module Mutation module Action class Archive < Ecoportal::API::GraphQL::Logic::Mutation field_name :archiveAction accepted_params :id class_resolver :payload_class, Ecoportal::API::GraphQL::Payload::Action::Archive class_resolver :input_class, Ecoportal::API::GraphQL::Input::Action::Archive private def basic_block(&block) payload_block = block || default_payload_block Proc.new { mutation(input: :ArchiveActionInput!) { archiveAction(input: :input, &payload_block) } } end def default_payload_block Proc.new { clientMutationId errors { details fullMessages } item { ___Fragment__Action } } end end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems