Class: Replication::SdrObject
- Inherits:
-
Moab::StorageObject
- Object
- Moab::StorageObject
- Replication::SdrObject
- Defined in:
- lib/replication/sdr_object.rb
Instance Method Summary collapse
-
#initialize(druid) ⇒ SdrObject
constructor
A new instance of SdrObject.
Constructor Details
#initialize(druid) ⇒ SdrObject
Returns a new instance of SdrObject.
8 9 10 11 12 13 |
# File 'lib/replication/sdr_object.rb', line 8 def initialize(druid) @digital_object_id = druid storage_object = StorageServices.find_storage_object(druid, include_deposit=true) @object_pathname = storage_object.object_pathname @storage_root = storage_object.storage_root end |