Class: GOBL::Org::Person

Inherits:
GOBL::Object show all
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

Method Summary

Methods inherited from GOBL::Object

new

Methods inherited from Struct

#as_json, from_data, from_json!, #to_json

Instance Attribute Details

#avatarsArray<GOBL::Org::Image> (readonly)

Avatars provider links to images or photos or the person.

Returns:



44
# File 'lib/generated/gobl/org/person.rb', line 44

property :avatars, [GOBL::Org::Image]

#emailsArray<GOBL::Org::Email> (readonly)

Electronic mail addresses that belong to the person.

Returns:



34
# File 'lib/generated/gobl/org/person.rb', line 34

property :emails, [GOBL::Org::Email]

#metaGOBL::CBC::Meta (readonly)

Data about the data.

Returns:



49
# File 'lib/generated/gobl/org/person.rb', line 49

property :meta, GOBL::CBC::Meta

#nameGOBL::Org::Name (readonly)

Complete details on the name of the person

Returns:



23
# File 'lib/generated/gobl/org/person.rb', line 23

property :name, GOBL::Org::Name

#roleString (readonly)

What they do within an organization

Returns:

  • (String)


29
# File 'lib/generated/gobl/org/person.rb', line 29

property :role, String

#telephonesArray<GOBL::Org::Telephone> (readonly)

Regular phone or mobile numbers

Returns:



39
# File 'lib/generated/gobl/org/person.rb', line 39

property :telephones, [GOBL::Org::Telephone]

#uuidString (readonly)

Universally Unique Identifier.

Returns:

  • (String)


18
# File 'lib/generated/gobl/org/person.rb', line 18

property :uuid, String