Class: ActiveFedora::Noid::Minter::Db

Inherits:
Base
  • Object
show all
Defined in:
lib/active_fedora/noid/minter/db.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #mint

Constructor Details

This class inherits a constructor from ActiveFedora::Noid::Minter::Base

Instance Method Details

#readObject


8
9
10
# File 'lib/active_fedora/noid/minter/db.rb', line 8

def read
  deserialize(instance)
end

#write!(minter) ⇒ Object


12
13
14
# File 'lib/active_fedora/noid/minter/db.rb', line 12

def write!(minter)
  serialize(instance, minter)
end