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.0.1 spec/support/mods_asset.rb
hydra-access-controls-5.0.0 spec/support/mods_asset.rb
hydra-access-controls-5.0.0.rc1 spec/support/mods_asset.rb
hydra-access-controls-5.0.0.pre15 spec/support/mods_asset.rb
hydra-access-controls-5.0.0.pre14 spec/support/mods_asset.rb
hydra-access-controls-5.0.0.pre13 spec/support/mods_asset.rb
hydra-access-controls-5.0.0.pre12 spec/support/mods_asset.rb
hydra-access-controls-5.0.0.pre11 spec/support/mods_asset.rb
hydra-access-controls-5.0.0.pre10 spec/support/mods_asset.rb
hydra-access-controls-5.0.0.pre9 spec/support/mods_asset.rb
hydra-access-controls-5.0.0.pre8 spec/support/mods_asset.rb
hydra-access-controls-5.0.0.pre7 spec/support/mods_asset.rb
hydra-access-controls-5.0.0.pre6 spec/support/mods_asset.rb
hydra-access-controls-5.0.0.pre4 spec/support/mods_asset.rb
hydra-access-controls-5.0.0.pre3 spec/support/mods_asset.rb
hydra-access-controls-5.0.0.pre2 spec/support/mods_asset.rb
hydra-access-controls-5.0.0.pre1 spec/support/mods_asset.rb
hydra-access-controls-0.0.5 spec/support/mods_asset.rb
hydra-access-controls-0.0.4 spec/support/mods_asset.rb
hydra-access-controls-0.0.3 spec/support/mods_asset.rb