Method: Talis::Hierarchy::Node.parents
- Defined in:
- lib/talis/hierarchy/node.rb
.parents(request_id: new_req_id, namespace:, type:, id:, opts: {}) ⇒ Object
Fetch all parents belonging to the specified node from the hierarchy for the given namespace.
84 85 86 87 88 |
# File 'lib/talis/hierarchy/node.rb', line 84 def parents(request_id: new_req_id, namespace:, type:, id:, opts: {}) api_client(request_id).get_parents(id, namespace, type, opts).data rescue BlueprintClient::ApiError => error handle_response(error) end |