lib/eco/api/session/config.rb in eco-helpers-2.6.4 vs lib/eco/api/session/config.rb in eco-helpers-2.7.0
- old
+ new
@@ -236,9 +236,15 @@
def tagtree_id=(value)
tagtree_config.structure_id = value
end
+ # The location node classifications of the organization
+ # @return [Eco::API::Organization::NodeClassifications]
+ def node_classifications(active: true)
+ tagtree_config.node_classifications(active: active)
+ end
+
# It uses the `tagtree.json` file and in its absence, if `graphql` enabled, the largest `life_tagtree`
# @note it does NOT include archived nodes by default.
# - This is for legacy (most usecases don't)
# @param include_archived [Boolean] whether or not it should include archived nodes.
# @return [Eco::API::Organization::TagTree]