Class: ModsAsset

Inherits:
ActiveFedora::Base
  • Object
show all
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

Methods included from Hydra::ModelMethods

#add_file, #best_mime_for_filename, #set_title, #set_title_and_label

Constructor Details

#initializeModsAsset

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