lib/ecoportal/api/graphql.rb in ecoportal-api-graphql-0.3.10 vs lib/ecoportal/api/graphql.rb in ecoportal-api-graphql-0.3.11
- old
+ new
@@ -29,9 +29,13 @@
def createContractorEntity(input:, &block)
createContractorEntityMutation.query(input: input, &block)
end
+ def contractorEntity
+ Ecoportal::API::GraphQL::Builder::ContractorEntity.new(client)
+ end
+
# Gives a builder to use different options to modify a reporting structure
def locationStructure
Ecoportal::API::GraphQL::Builder::LocationStructure.new(client)
end