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



11
12
13
14
# File 'lib/pho/oai.rb', line 11

def initialize(identifier, datestamp)
  @identifier = identifier
  @datestamp = datestamp
end

Instance Attribute Details

#datestampObject (readonly)

Returns the value of attribute datestamp.



9
10
11
# File 'lib/pho/oai.rb', line 9

def datestamp
  @datestamp
end

#identifierObject (readonly)

Returns the value of attribute identifier.



8
9
10
# File 'lib/pho/oai.rb', line 8

def identifier
  @identifier
end