Sha256: 36e17f8713bb17ac3b97f62ac4de22a51cfdd1936a817bc8ebdd715aa4a53d8c
Contents?: true
Size: 761 Bytes
Versions: 5
Compression:
Stored size: 761 Bytes
Contents
module Ecoportal module API class GraphQL module Builder class ContractorEntity attr_reader :client def initialize(client) @client = client end def create(**kargs, &block) createMutation.query(**kargs, &block) end def update(**kargs, &block) updateMutation.query(**kargs, &block) end private def createMutation Ecoportal::API::GraphQL::Mutation::ContractorEntity::Create.new(client) end def updateMutation Ecoportal::API::GraphQL::Mutation::ContractorEntity::Update.new(client) end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems