Class: SolrDocument
- Inherits:
-
Object
- Object
- SolrDocument
- Includes:
- Blacklight::Solr::Document, Hydra::Collections::SolrDocumentBehavior
- Defined in:
- app/models/solr_document.rb
Instance Method Summary collapse
-
#hydra_model ⇒ Object
Method to return the ActiveFedora model.
Methods included from Hydra::Collections::SolrDocumentBehavior
#description, #title, #title_or_label
Instance Method Details
#hydra_model ⇒ Object
Method to return the ActiveFedora model
9 10 11 |
# File 'app/models/solr_document.rb', line 9 def hydra_model Array(self[Solrizer.solr_name('active_fedora_model', Solrizer::Descriptor.new(:string, :stored, :indexed))]).first end |