Sha256: 23e84f4a714628b7901bb8543c67c971d2b574b6400bc640bf909af3b1fd6ce0

Contents?: true

Size: 612 Bytes

Versions: 67

Compression:

Stored size: 612 Bytes

Contents

require "active-fedora"
require_relative '../hydra-mods_article_datastream.rb'
require_relative '../hydra-rights_metadata_datastream.rb'

# This Model is used to load & index the test:fixture_mods_article1 fixture for use in tests.
#
# See lib/samples/sample_thing.rb for a fuller, annotated example of an ActiveFedora Model
class ModsArticle < ActiveFedora::Base
  
  has_metadata :name => "descMetadata", :type=> Hydra::ModsArticleDatastream  
  has_metadata :name => "rightsMetadata", :type => Hydra::RightsMetadataDatastream
  has_metadata :name => "properties", :type => ActiveFedora::SimpleDatastream

end

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
active-fedora-6.4.1 spec/samples/models/mods_article.rb
active-fedora-6.4.0 spec/samples/models/mods_article.rb
active-fedora-6.4.0.rc4 spec/samples/models/mods_article.rb
active-fedora-6.4.0.rc3 spec/samples/models/mods_article.rb
active-fedora-6.4.0.rc2 spec/samples/models/mods_article.rb
active-fedora-6.4.0.rc1 spec/samples/models/mods_article.rb
active-fedora-6.3.0 spec/samples/models/mods_article.rb