Class: ModsAsset
- Inherits:
-
ActiveFedora::Base
- Object
- ActiveFedora::Base
- ModsAsset
- Extended by:
- Deprecation
- Includes:
- Hydra::AccessControls::Permissions, Hydra::ModelMethods
- Defined in:
- lib/mods_asset.rb
Overview
An EXAMPLE Basic Model for Assets that conform to Hydra commonMetadata cModel and have basic MODS metadata (currently “Article” is the MODS exemplar)
Instance Method Summary collapse
-
#initialize ⇒ ModsAsset
constructor
A new instance of ModsAsset.
Methods included from Hydra::ModelMethods
#add_file, #best_mime_for_filename, #set_title, #set_title_and_label
Constructor Details
#initialize ⇒ ModsAsset
Returns a new instance of ModsAsset.
5 6 7 8 |
# File 'lib/mods_asset.rb', line 5 def initialize(*) Deprecation.warn(ModsAsset, "ModsAsset is deprecated and will be removed in hydra-head 10") super end |