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

Instance Method Summary collapse

Methods inherited from Model

as_input, #as_input, #as_update

Instance Method Details

#treeifyObject



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

def treeify
  self.class.treeify(nodes)
end