Class: Valkyrie::Persistence::Solr::ORMConverter::PropertyValue
- Inherits:
-
ValueMapper
- Object
- ValueMapper
- Valkyrie::Persistence::Solr::ORMConverter::PropertyValue
show all
- Defined in:
- lib/valkyrie/persistence/solr/orm_converter.rb
Instance Attribute Summary
Attributes inherited from ValueMapper
#calling_mapper, #value
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from ValueMapper
for, #initialize, register
Class Method Details
.handles?(value) ⇒ Boolean
110
111
112
|
# File 'lib/valkyrie/persistence/solr/orm_converter.rb', line 110
def self.handles?(value)
value.is_a?(Property)
end
|
Instance Method Details
#result ⇒ Object
114
115
116
|
# File 'lib/valkyrie/persistence/solr/orm_converter.rb', line 114
def result
calling_mapper.for(value.value).result
end
|