Class: Puree::Model::OrganisationalUnit

Inherits:
Resource
  • Object
show all
Defined in:
lib/puree/model/organisational_unit.rb

Overview

An organisational unit as defined by the institution.

Instance Attribute Summary collapse

Attributes inherited from Resource

#created_at, #created_by, #id, #modified_at, #modified_by, #previous_uuids, #uuid

Instance Attribute Details

#addressPuree::Model::Address



9
10
11
# File 'lib/puree/model/organisational_unit.rb', line 9

def address
  @address
end

#email_addressesArray<String>

Returns:

  • (Array<String>)


12
13
14
# File 'lib/puree/model/organisational_unit.rb', line 12

def email_addresses
  @email_addresses
end

#nameString?

Returns:

  • (String, nil)


15
16
17
# File 'lib/puree/model/organisational_unit.rb', line 15

def name
  @name
end

#parentPuree::Model::OrganisationalUnitHeader?



18
19
20
# File 'lib/puree/model/organisational_unit.rb', line 18

def parent
  @parent
end

#parentsArray<Puree::Model::OrganisationalUnitHeader>



21
22
23
# File 'lib/puree/model/organisational_unit.rb', line 21

def parents
  @parents
end

#phone_numbersArray<String>

Returns:

  • (Array<String>)


24
25
26
# File 'lib/puree/model/organisational_unit.rb', line 24

def phone_numbers
  @phone_numbers
end

#typeString?

Returns:

  • (String, nil)


27
28
29
# File 'lib/puree/model/organisational_unit.rb', line 27

def type
  @type
end

#urlsArray<String>

Returns:

  • (Array<String>)


30
31
32
# File 'lib/puree/model/organisational_unit.rb', line 30

def urls
  @urls
end