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 ⇒ String
readonly
Universally Unique Identifier.
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.
44 |
# File 'lib/generated/gobl/org/person.rb', line 44 property :avatars, [GOBL::Org::Image] |
#emails ⇒ Array<GOBL::Org::Email> (readonly)
Electronic mail addresses that belong to the person.
34 |
# File 'lib/generated/gobl/org/person.rb', line 34 property :emails, [GOBL::Org::Email] |
#meta ⇒ GOBL::CBC::Meta (readonly)
Data about the data.
49 |
# File 'lib/generated/gobl/org/person.rb', line 49 property :meta, GOBL::CBC::Meta |
#name ⇒ GOBL::Org::Name (readonly)
Complete details on the name of the person
23 |
# File 'lib/generated/gobl/org/person.rb', line 23 property :name, GOBL::Org::Name |
#role ⇒ String (readonly)
What they do within an organization
29 |
# File 'lib/generated/gobl/org/person.rb', line 29 property :role, String |
#telephones ⇒ Array<GOBL::Org::Telephone> (readonly)
Regular phone or mobile numbers
39 |
# File 'lib/generated/gobl/org/person.rb', line 39 property :telephones, [GOBL::Org::Telephone] |
#uuid ⇒ String (readonly)
Universally Unique Identifier.
18 |
# File 'lib/generated/gobl/org/person.rb', line 18 property :uuid, String |