Class: Hyrax::ValkyrieIndexer Deprecated

Inherits:
Indexers::ResourceIndexer
  • Object
show all
Defined in:
app/indexers/hyrax/valkyrie_indexer.rb

Overview

Deprecated.

use Hyrax::Indexers::ResourceIndexer instead

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args, **kwargs) ⇒ ValkyrieIndexer

Returns a new instance of ValkyrieIndexer.



7
8
9
10
# File 'app/indexers/hyrax/valkyrie_indexer.rb', line 7

def initialize(*args, **kwargs)
  Deprecation.warn "`Hyrax::ValkyrieIndexer` is deprecated. Use `Hyrax::Indexers::ResourceIndexer` instead."
  super
end

Class Method Details

.for(*args, **kwargs) ⇒ Object



12
13
14
15
# File 'app/indexers/hyrax/valkyrie_indexer.rb', line 12

def self.for(*args, **kwargs)
  Deprecation.warn "`Hyrax::ValkyrieIndexer.for` is deprecated. Use `Hyrax::Indexers::ResourceIndexer.for` instead."
  Hyrax::Indexers::ResourceIndexer.for(*args, **kwargs)
end