Class: GOBL::Org::Person
- Inherits:
-
GOBL::Object
- Object
- Struct
- GOBL::Object
- GOBL::Org::Person
- Defined in:
- lib/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'
Constants included from Hashme
Instance Attribute Summary collapse
-
#emails ⇒ Array<GOBL::Org::Email>
readonly
Electronic mail addresses that belong to the person.
-
#id ⇒ String
readonly
Internal ID used to identify the person inside a document.
-
#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
#emails ⇒ Array<GOBL::Org::Email> (readonly)
Electronic mail addresses that belong to the person.
40 |
# File 'lib/gobl/org/person.rb', line 40 property :emails, [GOBL::Org::Email] |
#id ⇒ String (readonly)
Internal ID used to identify the person inside a document.
19 |
# File 'lib/gobl/org/person.rb', line 19 property :id, String |
#meta ⇒ GOBL::CBC::Meta (readonly)
Data about the data.
50 |
# File 'lib/gobl/org/person.rb', line 50 property :meta, GOBL::CBC::Meta |
#name ⇒ GOBL::Org::Name (readonly)
Complete details on the name of the person
29 |
# File 'lib/gobl/org/person.rb', line 29 property :name, GOBL::Org::Name |
#role ⇒ String (readonly)
What they do within an organization
35 |
# File 'lib/gobl/org/person.rb', line 35 property :role, String |
#telephones ⇒ Array<GOBL::Org::Telephone> (readonly)
Regular phone or mobile numbers
45 |
# File 'lib/gobl/org/person.rb', line 45 property :telephones, [GOBL::Org::Telephone] |
#uuid ⇒ GOBL::UUID::UUID (readonly)
Unique identity code
24 |
# File 'lib/gobl/org/person.rb', line 24 property :uuid, GOBL::UUID::UUID |