Module: CurationConcern::HumanReadableType
- Extended by:
- ActiveSupport::Concern
- Included in:
- CollectionModel, Model, Hydramata::Group
- Defined in:
- app/repository_models/curation_concern/human_readable_type.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#human_readable_type ⇒ Object
11 12 13 |
# File 'app/repository_models/curation_concern/human_readable_type.rb', line 11 def human_readable_type self.class.human_readable_type end |
#to_solr(solr_doc = {}, opts = {}) ⇒ Object
15 16 17 18 19 20 |
# File 'app/repository_models/curation_concern/human_readable_type.rb', line 15 def to_solr(solr_doc={}, opts={}) super(solr_doc, opts) solr_doc[Solrizer.solr_name('human_readable_type',:facetable)] = human_readable_type solr_doc[Solrizer.solr_name('human_readable_type', :stored_searchable)] = human_readable_type return solr_doc end |