Class: Opencdd::Parcel::ReferencedIrdis::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/opencdd/parcel/referenced_irdis.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#entity_typeObject

Returns the value of attribute entity_type

Returns:

  • (Object)

    the current value of entity_type



23
24
25
# File 'lib/opencdd/parcel/referenced_irdis.rb', line 23

def entity_type
  @entity_type
end

#irdiObject

Returns the value of attribute irdi

Returns:

  • (Object)

    the current value of irdi



23
24
25
# File 'lib/opencdd/parcel/referenced_irdis.rb', line 23

def irdi
  @irdi
end

#referenced_byObject

Returns the value of attribute referenced_by

Returns:

  • (Object)

    the current value of referenced_by



23
24
25
# File 'lib/opencdd/parcel/referenced_irdis.rb', line 23

def referenced_by
  @referenced_by
end

#source_schemeObject

Returns the value of attribute source_scheme

Returns:

  • (Object)

    the current value of source_scheme



23
24
25
# File 'lib/opencdd/parcel/referenced_irdis.rb', line 23

def source_scheme
  @source_scheme
end

Instance Method Details

#to_hObject



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