Class: Puree::Model::Organisation

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

Overview

An organisational unit as defined by the institution.

Instance Attribute Summary collapse

Attributes inherited from Resource

#created, #locale, #modified, #uuid

Instance Attribute Details

#addressArray<Puree::Model::Address>

Returns:



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

def address
  @address
end

#email_addressesArray<String>

Returns:

  • (Array<String>)


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

def email_addresses
  @email_addresses
end

#nameString?

Returns:

  • (String, nil)


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

def name
  @name
end

#organisationsArray<Puree::Model::OrganisationHeader>



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

def organisations
  @organisations
end

#parentPuree::Model::OrganisationHeader?



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

def parent
  @parent
end

#phone_numbersArray<String>

Returns:

  • (Array<String>)


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

def phone_numbers
  @phone_numbers
end

#typeString?

Returns:

  • (String, nil)


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

def type
  @type
end

#urlsArray<String>

Returns:

  • (Array<String>)


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

def urls
  @urls
end