Class: Dor::DataIndexer
- Inherits:
-
Object
- Object
- Dor::DataIndexer
- Includes:
- ActiveFedora::Indexing
- Defined in:
- lib/dor/indexers/data_indexer.rb
Overview
Indexing provided by ActiveFedora
Instance Attribute Summary collapse
-
#resource ⇒ Object
readonly
Returns the value of attribute resource.
Instance Method Summary collapse
-
#initialize(resource:) ⇒ DataIndexer
constructor
A new instance of DataIndexer.
Constructor Details
#initialize(resource:) ⇒ DataIndexer
Returns a new instance of DataIndexer.
7 8 9 |
# File 'lib/dor/indexers/data_indexer.rb', line 7 def initialize(resource:) @resource = resource end |
Instance Attribute Details
#resource ⇒ Object (readonly)
Returns the value of attribute resource.
6 7 8 |
# File 'lib/dor/indexers/data_indexer.rb', line 6 def resource @resource end |