module Dhis2::Api::Shared::OrganisationUnit
Public Instance Methods
children_ids()
click to toggle source
# File lib/dhis2/api/shared/organisation_unit.rb, line 11 def children_ids children ? children.map { |elt| elt["id"] } : [] end
parent_id()
click to toggle source
# File lib/dhis2/api/shared/organisation_unit.rb, line 7 def parent_id parent ? parent["id"] : nil end