Sha256: 2e8d8630b8ab95cf604f12247f926abcb3f3338f874ff74ea29a83397224c975

Contents?: true

Size: 394 Bytes

Versions: 66

Compression:

Stored size: 394 Bytes

Contents

module CurationConcerns::HasRepresentative
  extend ActiveSupport::Concern

  included do
    belongs_to :representative,
               predicate: ::RDF::Vocab::EBUCore.hasRelatedMediaFragment,
               class_name: 'ActiveFedora::Base'

    belongs_to :thumbnail,
               predicate: ::RDF::Vocab::EBUCore.hasRelatedImage,
               class_name: 'ActiveFedora::Base'
  end
end

Version data entries

66 entries across 66 versions & 2 rubygems

Version Path
curation_concerns-1.7.8 app/models/concerns/curation_concerns/has_representative.rb
curation_concerns-1.7.7 app/models/concerns/curation_concerns/has_representative.rb
curation_concerns-2.0.0 app/models/concerns/curation_concerns/has_representative.rb
curation_concerns-2.0.0.rc2 app/models/concerns/curation_concerns/has_representative.rb
curation_concerns-1.7.6 app/models/concerns/curation_concerns/has_representative.rb
curation_concerns-1.7.5 app/models/concerns/curation_concerns/has_representative.rb
curation_concerns-1.7.4 app/models/concerns/curation_concerns/has_representative.rb
curation_concerns-1.7.3 app/models/concerns/curation_concerns/has_representative.rb
curation_concerns-1.7.2 app/models/concerns/curation_concerns/has_representative.rb
curation_concerns-2.0.0.rc1 app/models/concerns/curation_concerns/has_representative.rb
curation_concerns-1.7.1 app/models/concerns/curation_concerns/has_representative.rb
curation_concerns-1.7.0 app/models/concerns/curation_concerns/has_representative.rb
curation_concerns-1.7.0.beta1 app/models/concerns/curation_concerns/has_representative.rb
curation_concerns-1.6.3 app/models/concerns/curation_concerns/has_representative.rb
curation_concerns-1.6.2 app/models/concerns/curation_concerns/has_representative.rb
curation_concerns-1.6.1 app/models/concerns/curation_concerns/has_representative.rb
curation_concerns-1.6.0 app/models/concerns/curation_concerns/has_representative.rb
curation_concerns-1.5.0 app/models/concerns/curation_concerns/has_representative.rb
curation_concerns-1.4.0 app/models/concerns/curation_concerns/has_representative.rb
curation_concerns-1.3.3 app/models/concerns/curation_concerns/has_representative.rb