Class: WCAPI::Record
- Inherits:
-
Object
- Object
- WCAPI::Record
- Defined in:
- lib/wcapi/record.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
include WCAPI::XPath.
-
#citation ⇒ Object
include WCAPI::XPath.
-
#id ⇒ Object
include WCAPI::XPath.
-
#link ⇒ Object
include WCAPI::XPath.
-
#summary ⇒ Object
include WCAPI::XPath.
-
#title ⇒ Object
include WCAPI::XPath.
-
#xml ⇒ Object
include WCAPI::XPath.
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/wcapi/record.rb', line 7 def initialize(pxml) #Setup a document end |
Instance Attribute Details
#author ⇒ Object
include WCAPI::XPath
5 6 7 |
# File 'lib/wcapi/record.rb', line 5 def @author end |
#citation ⇒ Object
include WCAPI::XPath
5 6 7 |
# File 'lib/wcapi/record.rb', line 5 def citation @citation end |
#id ⇒ Object
include WCAPI::XPath
5 6 7 |
# File 'lib/wcapi/record.rb', line 5 def id @id end |
#link ⇒ Object
include WCAPI::XPath
5 6 7 |
# File 'lib/wcapi/record.rb', line 5 def link @link end |
#summary ⇒ Object
include WCAPI::XPath
5 6 7 |
# File 'lib/wcapi/record.rb', line 5 def summary @summary end |
#title ⇒ Object
include WCAPI::XPath
5 6 7 |
# File 'lib/wcapi/record.rb', line 5 def title @title end |
#xml ⇒ Object
include WCAPI::XPath
5 6 7 |
# File 'lib/wcapi/record.rb', line 5 def xml @xml end |