Class: Pho::OAI::Record

Inherits:
Object
  • Object
show all
Defined in:
lib/pho/oai.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#datestampObject (readonly)

Returns the value of attribute datestamp.



34
35
36
# File 'lib/pho/oai.rb', line 34

def datestamp
  @datestamp
end

#identifierObject (readonly)

Returns the value of attribute identifier.



33
34
35
# File 'lib/pho/oai.rb', line 33

def identifier
  @identifier
end