Sha256: 8b785c9a4e4470e412379c5402021cdf0fa242548ca996709335e74f2adfceb5

Contents?: true

Size: 546 Bytes

Versions: 9

Compression:

Stored size: 546 Bytes

Contents

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

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

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
active-fedora-4.0.0.rc9 spec/samples/models/hydrangea_article.rb
active-fedora-4.0.0.rc8 spec/samples/models/hydrangea_article.rb
active-fedora-4.0.0.rc7 spec/samples/models/hydrangea_article.rb
active-fedora-4.0.0.rc6 spec/samples/models/hydrangea_article.rb
active-fedora-4.0.0.rc5 spec/samples/models/hydrangea_article.rb
active-fedora-4.0.0.rc4 spec/samples/models/hydrangea_article.rb
active-fedora-4.0.0.rc3 spec/samples/models/hydrangea_article.rb
active-fedora-4.0.0.rc2 spec/samples/models/hydrangea_article.rb
active-fedora-4.0.0.rc1 spec/samples/models/hydrangea_article.rb