Sha256: 12f9ca043a0ef418cf600de60c62e5feec944e23588b67f2dc21b23067d28d9a
Contents?: true
Size: 344 Bytes
Versions: 19
Compression:
Stored size: 344 Bytes
Contents
require_relative 'local_libs' api = Ecoportal::API::GraphQL.new kargs = { includeArchived: false, includeUnpublished: false } trees = api.currentOrganization.locationStructures(**kargs) trees.each_with_index do |tree, idx| puts "#{tree.weight}. '#{tree.name}' (#{tree.id})" end trees.each do |tree| pp tree.treeify end
Version data entries
19 entries across 19 versions & 1 rubygems