Class: WORLDCATAPI::Record
- Inherits:
-
Object
- Object
- WORLDCATAPI::Record
- Defined in:
- lib/worldcatapi/record.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
Returns the value of attribute author.
-
#citation ⇒ Object
Returns the value of attribute citation.
-
#id ⇒ Object
Returns the value of attribute id.
-
#isbn ⇒ Object
Returns the value of attribute isbn.
-
#link ⇒ Object
Returns the value of attribute link.
-
#summary ⇒ Object
Returns the value of attribute summary.
-
#title ⇒ Object
Returns the value of attribute title.
-
#xml ⇒ Object
Returns the value of attribute xml.
Instance Method Summary collapse
-
#initialize(pxml) ⇒ Record
constructor
A new instance of Record.
Constructor Details
#initialize(pxml) ⇒ Record
Returns a new instance of Record.
7 8 9 |
# File 'lib/worldcatapi/record.rb', line 7 def initialize(pxml) #Setup a document end |
Instance Attribute Details
#author ⇒ Object
Returns the value of attribute author.
5 6 7 |
# File 'lib/worldcatapi/record.rb', line 5 def @author end |
#citation ⇒ Object
Returns the value of attribute citation.
5 6 7 |
# File 'lib/worldcatapi/record.rb', line 5 def citation @citation end |
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/worldcatapi/record.rb', line 5 def id @id end |
#isbn ⇒ Object
Returns the value of attribute isbn.
5 6 7 |
# File 'lib/worldcatapi/record.rb', line 5 def isbn @isbn end |
#link ⇒ Object
Returns the value of attribute link.
5 6 7 |
# File 'lib/worldcatapi/record.rb', line 5 def link @link end |
#summary ⇒ Object
Returns the value of attribute summary.
5 6 7 |
# File 'lib/worldcatapi/record.rb', line 5 def summary @summary end |
#title ⇒ Object
Returns the value of attribute title.
5 6 7 |
# File 'lib/worldcatapi/record.rb', line 5 def title @title end |
#xml ⇒ Object
Returns the value of attribute xml.
5 6 7 |
# File 'lib/worldcatapi/record.rb', line 5 def xml @xml end |