Sha256: 803df3d22ccf49a241765dcea09a07e1b76c2eb917af6578528367a3a88e33df

Contents?: true

Size: 383 Bytes

Versions: 58

Compression:

Stored size: 383 Bytes

Contents

module Hyrax::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

58 entries across 58 versions & 2 rubygems

Version Path
hyrax-2.9.6 app/models/concerns/hyrax/has_representative.rb
hyrax-2.9.5 app/models/concerns/hyrax/has_representative.rb
hyrax-2.9.4 app/models/concerns/hyrax/has_representative.rb
hyrax-2.9.3 app/models/concerns/hyrax/has_representative.rb
hyrax-2.9.2 app/models/concerns/hyrax/has_representative.rb
hyrax-2.9.1 app/models/concerns/hyrax/has_representative.rb
hyrax-2.9.0 app/models/concerns/hyrax/has_representative.rb
hyrax-2.8.0 app/models/concerns/hyrax/has_representative.rb
hyrax-2.7.2 app/models/concerns/hyrax/has_representative.rb
hyrax-2.7.1 app/models/concerns/hyrax/has_representative.rb
hyrax-2.7.0 app/models/concerns/hyrax/has_representative.rb
hyrax-2.6.0 app/models/concerns/hyrax/has_representative.rb
hyrax-3.0.0.pre.rc1 app/models/concerns/hyrax/has_representative.rb
hyrax-3.0.0.pre.beta3 app/models/concerns/hyrax/has_representative.rb
hyrax-2.5.1 app/models/concerns/hyrax/has_representative.rb
hyrax-2.5.0 app/models/concerns/hyrax/has_representative.rb
hyrax-3.0.0.pre.beta2 app/models/concerns/hyrax/has_representative.rb
hyrax-2.4.1 app/models/concerns/hyrax/has_representative.rb
hyrax-3.0.0.pre.beta1 app/models/concerns/hyrax/has_representative.rb
hyrax-2.4.0 app/models/concerns/hyrax/has_representative.rb