Sha256: ef68cfcfcd13bd7fe7cfaea338a71a18bab141af691aabdbbca460964b3eddf0

Contents?: true

Size: 440 Bytes

Versions: 60

Compression:

Stored size: 440 Bytes

Contents

require 'active-fedora'
class ModsAsset < ActiveFedora::Base
  include Hydra::ModelMixins::RightsMetadata
  has_metadata :name => "rightsMetadata", :type => Hydra::Datastream::RightsMetadata
  
  # This is how we're associating admin policies with assets.  
  # You can associate them however you want, just use the :is_governed_by relationship
  belongs_to :admin_policy, :class_name=> "Hydra::AdminPolicy", :property=>:is_governed_by
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
hydra-access-controls-5.4.1 spec/support/mods_asset.rb
hydra-access-controls-6.4.2 spec/support/mods_asset.rb
hydra-access-controls-6.4.1 spec/support/mods_asset.rb
hydra-access-controls-6.4.0 spec/support/mods_asset.rb
hydra-access-controls-6.4.0.rc5 spec/support/mods_asset.rb
hydra-access-controls-6.4.0.rc4 spec/support/mods_asset.rb
hydra-access-controls-6.4.0.rc3 spec/support/mods_asset.rb
hydra-access-controls-6.4.0.rc2 spec/support/mods_asset.rb
hydra-access-controls-6.4.0.rc1 spec/support/mods_asset.rb
hydra-access-controls-6.4.0.pre2 spec/support/mods_asset.rb
hydra-access-controls-6.4.0.pre1 spec/support/mods_asset.rb
hydra-access-controls-6.3.4 spec/support/mods_asset.rb
hydra-access-controls-6.3.3 spec/support/mods_asset.rb
hydra-access-controls-6.3.2 spec/support/mods_asset.rb
hydra-access-controls-6.3.1 spec/support/mods_asset.rb
hydra-access-controls-6.3.0 spec/support/mods_asset.rb
hydra-access-controls-6.3.0.rc1 spec/support/mods_asset.rb
hydra-access-controls-6.2.2 spec/support/mods_asset.rb
hydra-access-controls-6.2.1 spec/support/mods_asset.rb
hydra-access-controls-6.2.0 spec/support/mods_asset.rb