Class: Valkyrie::Persistence::Fedora::Persister::OrmConverter::GraphToAttributes::UpdatedAtValue
- Inherits:
-
ValueMapper
- Object
- ValueMapper
- Valkyrie::Persistence::Fedora::Persister::OrmConverter::GraphToAttributes::UpdatedAtValue
show all
- Defined in:
- lib/valkyrie/persistence/fedora/persister/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
277
278
279
|
# File 'lib/valkyrie/persistence/fedora/persister/orm_converter.rb', line 277
def self.handles?(value)
value.statement.predicate == value.adapter.schema.predicate_for(property: :updated_at, resource: nil)
end
|
Instance Method Details
#result ⇒ Object
281
282
283
|
# File 'lib/valkyrie/persistence/fedora/persister/orm_converter.rb', line 281
def result
NonStringSingleApplicator.new(value)
end
|