Module: Solrizer::FieldNameMapper
- Defined in:
- lib/solrizer/field_name_mapper.rb
Overview
Re-Introduced for backwards compatibility
Defined Under Namespace
Modules: ClassMethods
Instance Attribute Summary collapse
-
#ox_namespaces ⇒ Object
Instance Methods – These methods will be available on instances of classes that include this module.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#ox_namespaces ⇒ Object
Instance Methods – These methods will be available on instances of classes that include this module
40 41 42 |
# File 'lib/solrizer/field_name_mapper.rb', line 40 def ox_namespaces @ox_namespaces end |
Class Method Details
.included(klass) ⇒ Object
42 43 44 |
# File 'lib/solrizer/field_name_mapper.rb', line 42 def self.included(klass) klass.extend(ClassMethods) end |
Instance Method Details
#solr_name(field_name, field_type, index_type = :searchable) ⇒ Object
47 48 49 |
# File 'lib/solrizer/field_name_mapper.rb', line 47 def solr_name(field_name, field_type, index_type = :searchable) self.class.solr_name(field_name, field_type, index_type) end |