Class: Ecoportal::API::GraphQL::Base::LocationStructure

Inherits:
Model show all
Extended by:
Helpers::LocationsTree
Defined in:
lib/ecoportal/api/graphql/base/location_structure.rb

Direct Known Subclasses

Model::LocationStructure

Constant Summary

Constants included from Helpers::LocationsTree

Helpers::LocationsTree::RELEVANT_NODES_COUNT

Instance Method Summary collapse

Methods included from Common::GraphQL::Model::AsInput

#as_input

Methods included from Common::GraphQL::Model::Diffable

#as_update

Instance Method Details

#treeifyObject



16
17
18
# File 'lib/ecoportal/api/graphql/base/location_structure.rb', line 16

def treeify
  self.class.treeify(nodes)
end