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-7.1.1 spec/samples/models/mods_article.rb
active-fedora-7.1.0 spec/samples/models/mods_article.rb
active-fedora-6.7.8 spec/samples/models/mods_article.rb
active-fedora-7.0.4 spec/samples/models/mods_article.rb
active-fedora-7.0.3 spec/samples/models/mods_article.rb
active-fedora-7.0.2 spec/samples/models/mods_article.rb
active-fedora-7.0.1 spec/samples/models/mods_article.rb
active-fedora-7.0.0 spec/samples/models/mods_article.rb
active-fedora-7.0.0.rc3 spec/samples/models/mods_article.rb
active-fedora-6.7.7 spec/samples/models/mods_article.rb
active-fedora-7.0.0.rc2 spec/samples/models/mods_article.rb
active-fedora-6.7.6 spec/samples/models/mods_article.rb
active-fedora-7.0.0.rc1 spec/samples/models/mods_article.rb
active-fedora-6.7.5 spec/samples/models/mods_article.rb
active-fedora-7.0.0.pre3 spec/samples/models/mods_article.rb
active-fedora-6.7.4 spec/samples/models/mods_article.rb
active-fedora-7.0.0.pre2 spec/samples/models/mods_article.rb
active-fedora-7.0.0.pre1 spec/samples/models/mods_article.rb
active-fedora-6.7.3 spec/samples/models/mods_article.rb
active-fedora-6.7.2 spec/samples/models/mods_article.rb