module Dhis2::Api::Shared::OrganisationUnitGroup
Public Instance Methods
group_set_ids()
click to toggle source
# File lib/dhis2/api/shared/organisation_unit_group.rb, line 13 def group_set_ids [organisation_unit_group_set, group_sets].flatten.compact.map do |group_set| group_set["id"] end end
organisation_unit_ids()
click to toggle source
# File lib/dhis2/api/shared/organisation_unit_group.rb, line 7 def organisation_unit_ids organisation_units.map do |organisation_unit| organisation_unit["id"] end end