lib/hydra/mods_image.rb in hydra-head-4.0.0 vs lib/hydra/mods_image.rb in hydra-head-4.0.1

- old
+ new

@@ -1,5 +1,6 @@ module Hydra +# @deprecated -- this will be removed in 5.x release class ModsImage < ActiveFedora::NokogiriDatastream include Hydra::CommonModsIndexMethods def initialize(digital_object, dsid, options={}) ActiveSupport::Deprecation.warn("Hydra::ModsImage has been deprecated. Use Hydra::Datastream::ModsImage instead")