Class: GOBL::Org::Person
- Inherits:
-
GOBL::Object
- Object
- Struct
- GOBL::Object
- GOBL::Org::Person
- Defined in:
- lib/generated/gobl/org/person.rb
Overview
Person represents a human, and how to contact them electronically.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL Person structure
'https://gobl.org/draft-0/org/person'
Instance Attribute Summary collapse
-
#avatars ⇒ Array<GOBL::Org::Image>
readonly
Avatars provider links to images or photos or the person.
-
#emails ⇒ Array<GOBL::Org::Email>
readonly
Electronic mail addresses that belong to the person.
-
#meta ⇒ GOBL::CBC::Meta
readonly
Data about the data.
-
#name ⇒ GOBL::Org::Name
readonly
Complete details on the name of the person.
-
#role ⇒ String
readonly
What they do within an organization.
-
#telephones ⇒ Array<GOBL::Org::Telephone>
readonly
Regular phone or mobile numbers.
-
#uuid ⇒ GOBL::UUID::UUID
readonly
Unique identity code.
Method Summary
Methods inherited from GOBL::Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#avatars ⇒ Array<GOBL::Org::Image> (readonly)
Avatars provider links to images or photos or the person.
45 |
# File 'lib/generated/gobl/org/person.rb', line 45 property :avatars, [GOBL::Org::Image] |
#emails ⇒ Array<GOBL::Org::Email> (readonly)
Electronic mail addresses that belong to the person.
35 |
# File 'lib/generated/gobl/org/person.rb', line 35 property :emails, [GOBL::Org::Email] |
#meta ⇒ GOBL::CBC::Meta (readonly)
Data about the data.
50 |
# File 'lib/generated/gobl/org/person.rb', line 50 property :meta, GOBL::CBC::Meta |
#name ⇒ GOBL::Org::Name (readonly)
Complete details on the name of the person
24 |
# File 'lib/generated/gobl/org/person.rb', line 24 property :name, GOBL::Org::Name |
#role ⇒ String (readonly)
What they do within an organization
30 |
# File 'lib/generated/gobl/org/person.rb', line 30 property :role, String |
#telephones ⇒ Array<GOBL::Org::Telephone> (readonly)
Regular phone or mobile numbers
40 |
# File 'lib/generated/gobl/org/person.rb', line 40 property :telephones, [GOBL::Org::Telephone] |
#uuid ⇒ GOBL::UUID::UUID (readonly)
Unique identity code
19 |
# File 'lib/generated/gobl/org/person.rb', line 19 property :uuid, GOBL::UUID::UUID |