Module: Wings::Valkyrizable
- Defined in:
- lib/wings/valkyrizable.rb
Overview
A mixin for ‘ActiveFedora::Base` models providing a convenience method mapping to a valkyrie resource.
Instance Method Summary collapse
-
#valkyrie_resource ⇒ Valkyrie::Resource
A valkyrie resource matching this model.
Instance Method Details
#valkyrie_resource ⇒ Valkyrie::Resource
Returns a valkyrie resource matching this model.
20 21 22 |
# File 'lib/wings/valkyrizable.rb', line 20 def valkyrie_resource ModelTransformer.for(self) end |