Sha256: fe0211a283acad96209f8c706e9d0dde025a50ddf82179bc48c630260915297e

Contents?: true

Size: 316 Bytes

Versions: 19

Compression:

Stored size: 316 Bytes

Contents

require_relative 'local_libs'

STRUCT_ID = "592642a4ae0c6a00236b110d" # mini test
# STRUCT_ID = "626745bcba616a001f7e5011" # wcc


api = Ecoportal::API::GraphQL.new
api.currentOrganization.locationStructure(id: STRUCT_ID).tap do |tree|
  puts "'#{tree.name}' Structure (#{tree.id})"
  pp tree.treeify
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
ecoportal-api-graphql-0.4.3 tests/loc_structure_get.rb
ecoportal-api-graphql-0.4.2 tests/loc_structure_get.rb
ecoportal-api-graphql-0.4.1 tests/loc_structure_get.rb
ecoportal-api-graphql-0.4.0 tests/loc_structure_get.rb
ecoportal-api-graphql-0.3.16 tests/loc_structure_get.rb
ecoportal-api-graphql-0.3.15 tests/loc_structure_get.rb
ecoportal-api-graphql-0.3.14 tests/loc_structure_get.rb
ecoportal-api-graphql-0.3.13 tests/loc_structure_get.rb
ecoportal-api-graphql-0.3.12 tests/loc_structure_get.rb
ecoportal-api-graphql-0.3.11 tests/loc_structure_get.rb
ecoportal-api-graphql-0.3.10 tests/loc_structure_get.rb
ecoportal-api-graphql-0.3.9 tests/loc_structure_get.rb
ecoportal-api-graphql-0.3.8 tests/loc_structure_get.rb
ecoportal-api-graphql-0.3.7 tests/loc_structure_get.rb
ecoportal-api-graphql-0.3.6 tests/loc_structure_get.rb
ecoportal-api-graphql-0.3.5 tests/loc_structure_get.rb
ecoportal-api-graphql-0.3.3 tests/loc_structure_get.rb
ecoportal-api-graphql-0.3.1 tests/loc_structure_get.rb
ecoportal-api-graphql-0.2.3 tests/loc_structure_get.rb