Sha256: 821f3b358b48c6a3663c85490fc68a339dffe3f19ddfd37ebfbabd25856e4068
Contents?: true
Size: 599 Bytes
Versions: 8
Compression:
Stored size: 599 Bytes
Contents
module Ecoportal module API class GraphQL module Base class LocationStructure < Ecoportal::API::GraphQL::Base::Model extend Ecoportal::API::GraphQL::Helpers::LocationsTree passkey :id passthrough :name, :weight passboolean :archived, :published, :visitorManagementEnabled embeds_many :nodes, klass: Ecoportal::API::GraphQL::Base::LocationNode, order_key: :weight passthrough :draft def treeify self.class.treeify(nodes) end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems