Class: Edoxen::Person
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Edoxen::Person
- Defined in:
- lib/edoxen/person.rb,
sig/edoxen.rbs
Overview
A Contact that is specifically an individual human. Inherits all
Contact fields. The old email, phone, and orcid fields are
replaced by entries in contact_methods (kind=email / kind=phone)
and identifiers (kind=orcid).
Instance Attribute Summary collapse
-
#affiliation ⇒ String?
readonly
Returns the value of attribute affiliation.
-
#email ⇒ String?
readonly
Returns the value of attribute email.
-
#kind ⇒ String?
readonly
Returns the value of attribute kind.
-
#name ⇒ String?
readonly
Returns the value of attribute name.
-
#orcid ⇒ String?
readonly
Returns the value of attribute orcid.
-
#phone ⇒ String?
readonly
Returns the value of attribute phone.
-
#role ⇒ String?
readonly
Returns the value of attribute role.
Instance Attribute Details
#affiliation ⇒ String? (readonly)
Returns the value of attribute affiliation.
114 115 116 |
# File 'sig/edoxen.rbs', line 114 def affiliation @affiliation end |
#email ⇒ String? (readonly)
Returns the value of attribute email.
115 116 117 |
# File 'sig/edoxen.rbs', line 115 def email @email end |
#kind ⇒ String? (readonly)
Returns the value of attribute kind.
112 113 114 |
# File 'sig/edoxen.rbs', line 112 def kind @kind end |
#name ⇒ String? (readonly)
Returns the value of attribute name.
111 112 113 |
# File 'sig/edoxen.rbs', line 111 def name @name end |
#orcid ⇒ String? (readonly)
Returns the value of attribute orcid.
117 118 119 |
# File 'sig/edoxen.rbs', line 117 def orcid @orcid end |
#phone ⇒ String? (readonly)
Returns the value of attribute phone.
116 117 118 |
# File 'sig/edoxen.rbs', line 116 def phone @phone end |
#role ⇒ String? (readonly)
Returns the value of attribute role.
113 114 115 |
# File 'sig/edoxen.rbs', line 113 def role @role end |