Class: Opencdd::Parcel::ReferencedIrdis::Entry
- Inherits:
-
Struct
- Object
- Struct
- Opencdd::Parcel::ReferencedIrdis::Entry
- Defined in:
- lib/opencdd/parcel/referenced_irdis.rb
Instance Attribute Summary collapse
-
#entity_type ⇒ Object
Returns the value of attribute entity_type.
-
#irdi ⇒ Object
Returns the value of attribute irdi.
-
#referenced_by ⇒ Object
Returns the value of attribute referenced_by.
-
#source_scheme ⇒ Object
Returns the value of attribute source_scheme.
Instance Method Summary collapse
Instance Attribute Details
#entity_type ⇒ Object
Returns the value of attribute entity_type
23 24 25 |
# File 'lib/opencdd/parcel/referenced_irdis.rb', line 23 def entity_type @entity_type end |
#irdi ⇒ Object
Returns the value of attribute irdi
23 24 25 |
# File 'lib/opencdd/parcel/referenced_irdis.rb', line 23 def irdi @irdi end |
#referenced_by ⇒ Object
Returns the value of attribute referenced_by
23 24 25 |
# File 'lib/opencdd/parcel/referenced_irdis.rb', line 23 def referenced_by @referenced_by end |
#source_scheme ⇒ Object
Returns the value of attribute source_scheme
23 24 25 |
# File 'lib/opencdd/parcel/referenced_irdis.rb', line 23 def source_scheme @source_scheme end |
Instance Method Details
#to_h ⇒ Object
24 25 26 27 |
# File 'lib/opencdd/parcel/referenced_irdis.rb', line 24 def to_h { irdi: irdi.to_s, entity_type: entity_type, source_scheme: source_scheme, referenced_by: referenced_by.dup } end |