Sha256: fd76efc269f670d5abc5a76fc90a626d94632d79b8d2c2c34c8ac01c46c72e68
Contents?: true
Size: 527 Bytes
Versions: 10
Compression:
Stored size: 527 Bytes
Contents
require_relative 'local_libs' api = Ecoportal::API::GraphQL.new response = api.contractorEntity.update(input: { id: "62b04d83fa9170001d3d303f", name: "Caras Galathon", active: true, approved: true, # associatedPeopleIds: [ # "5adfbef76fb80400047535b3" # ], leadContractorIds: { additions: ["5adfbef76fb80400047535b3"] }, clientMutationId: "" }) if response.success? && entity = response.item puts "Updated contractor entity '#{entity.name}' (approved? #{entity.approved})" end
Version data entries
10 entries across 10 versions & 1 rubygems