Class: Dor::DataIndexer

Inherits:
Object
  • Object
show all
Includes:
ActiveFedora::Indexing
Defined in:
lib/dor/indexers/data_indexer.rb

Overview

Indexing provided by ActiveFedora

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#resourceObject (readonly)

Returns the value of attribute resource.



6
7
8
# File 'lib/dor/indexers/data_indexer.rb', line 6

def resource
  @resource
end