Class: Edoxen::Person

Inherits:
Lutaml::Model::Serializable
  • Object
show all
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

Instance Attribute Details

#affiliationString? (readonly)

Returns the value of attribute affiliation.

Returns:

  • (String, nil)


114
115
116
# File 'sig/edoxen.rbs', line 114

def affiliation
  @affiliation
end

#emailString? (readonly)

Returns the value of attribute email.

Returns:

  • (String, nil)


115
116
117
# File 'sig/edoxen.rbs', line 115

def email
  @email
end

#kindString? (readonly)

Returns the value of attribute kind.

Returns:

  • (String, nil)


112
113
114
# File 'sig/edoxen.rbs', line 112

def kind
  @kind
end

#nameString? (readonly)

Returns the value of attribute name.

Returns:

  • (String, nil)


111
112
113
# File 'sig/edoxen.rbs', line 111

def name
  @name
end

#orcidString? (readonly)

Returns the value of attribute orcid.

Returns:

  • (String, nil)


117
118
119
# File 'sig/edoxen.rbs', line 117

def orcid
  @orcid
end

#phoneString? (readonly)

Returns the value of attribute phone.

Returns:

  • (String, nil)


116
117
118
# File 'sig/edoxen.rbs', line 116

def phone
  @phone
end

#roleString? (readonly)

Returns the value of attribute role.

Returns:

  • (String, nil)


113
114
115
# File 'sig/edoxen.rbs', line 113

def role
  @role
end