Class: Pho::OAI::Record
- Inherits:
-
Object
- Object
- Pho::OAI::Record
- Defined in:
- lib/pho/oai.rb
Instance Attribute Summary collapse
-
#datestamp ⇒ Object
readonly
Returns the value of attribute datestamp.
-
#identifier ⇒ Object
readonly
Returns the value of attribute identifier.
Instance Method Summary collapse
-
#initialize(identifier, datestamp) ⇒ Record
constructor
A new instance of Record.
Constructor Details
#initialize(identifier, datestamp) ⇒ Record
Returns a new instance of Record.
36 37 38 39 |
# File 'lib/pho/oai.rb', line 36 def initialize(identifier, datestamp) @identifier = identifier @datestamp = datestamp end |
Instance Attribute Details
#datestamp ⇒ Object (readonly)
Returns the value of attribute datestamp.
34 35 36 |
# File 'lib/pho/oai.rb', line 34 def datestamp @datestamp end |
#identifier ⇒ Object (readonly)
Returns the value of attribute identifier.
33 34 35 |
# File 'lib/pho/oai.rb', line 33 def identifier @identifier end |