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

Inherits:
Model
  • Object
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 inherited from Model

as_input, #as_input, #as_update

Instance Method Details

#treeifyObject



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

def treeify
  self.class.treeify(nodes)
end