Sha256: d82008c76952f1bed8564ce041baee8cbdf3d3b70297160161a5837beee7768a

Contents?: true

Size: 548 Bytes

Versions: 20

Compression:

Stored size: 548 Bytes

Contents

# An EXAMPLE   Basic Model for Assets that conform to Hydra commonMetadata cModel and have basic MODS metadata (currently "Article" is the MODS exemplar)
class ModsAsset < ActiveFedora::Base
  extend Deprecation

  def initialize(*)
    Deprecation.warn(ModsAsset, "ModsAsset is deprecated and will be removed in hydra-head 10")
    super
  end

  ## Convenience methods for manipulating the rights metadata datastream
  include Hydra::AccessControls::Permissions

  # adds helpful methods for basic hydra objects
  include Hydra::ModelMethods
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
hydra-core-9.10.0 lib/mods_asset.rb
hydra-core-9.9.0 lib/mods_asset.rb
hydra-core-9.8.1 lib/mods_asset.rb
hydra-core-9.8.0 lib/mods_asset.rb
hydra-core-9.7.1 lib/mods_asset.rb
hydra-core-9.7.0 lib/mods_asset.rb
hydra-core-9.6.0 lib/mods_asset.rb
hydra-core-9.5.0 lib/mods_asset.rb
hydra-core-9.4.1 lib/mods_asset.rb
hydra-core-9.4.0 lib/mods_asset.rb
hydra-core-9.3.0 lib/mods_asset.rb
hydra-core-9.2.2 lib/mods_asset.rb
hydra-core-9.2.1 lib/mods_asset.rb
hydra-core-9.2.0 lib/mods_asset.rb
hydra-core-9.2.0.rc1 lib/mods_asset.rb
hydra-core-9.1.4 lib/mods_asset.rb
hydra-core-9.1.3 lib/mods_asset.rb
hydra-core-9.1.2 lib/mods_asset.rb
hydra-core-9.1.1 lib/mods_asset.rb
hydra-core-9.1.0 lib/mods_asset.rb