Class: Hydra::AccessControls::LeaseIndexer
- Inherits:
-
Object
- Object
- Hydra::AccessControls::LeaseIndexer
- Defined in:
- app/indexers/hydra/access_controls/lease_indexer.rb
Instance Method Summary collapse
- #generate_solr_document ⇒ Object
-
#initialize(object) ⇒ LeaseIndexer
constructor
A new instance of LeaseIndexer.
Constructor Details
#initialize(object) ⇒ LeaseIndexer
Returns a new instance of LeaseIndexer.
3 4 5 |
# File 'app/indexers/hydra/access_controls/lease_indexer.rb', line 3 def initialize(object) @object = object end |
Instance Method Details
#generate_solr_document ⇒ Object
7 8 9 |
# File 'app/indexers/hydra/access_controls/lease_indexer.rb', line 7 def generate_solr_document @object.to_hash end |