Class: Median::Primo::Record

Inherits:
Object
  • Object
show all
Includes:
XmlSupport
Defined in:
lib/median/primo/record.rb

Defined Under Namespace

Classes: Links

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(xml) ⇒ Record

Returns a new instance of Record.



32
33
34
35
# File 'lib/median/primo/record.rb', line 32

def initialize(xml)
  super(xml)
  @links = Links.new(xml)
end

Instance Attribute Details

Returns the value of attribute links.



30
31
32
# File 'lib/median/primo/record.rb', line 30

def links
  @links
end