Sha256: 0187b49b8496ce28c2d9cd554a3e776482c730f69d09da7544d820abcd606b68

Contents?: true

Size: 413 Bytes

Versions: 25

Compression:

Stored size: 413 Bytes

Contents

# frozen_string_literal: true
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

25 entries across 25 versions & 1 rubygems

Version Path
hyrax-5.0.1 app/models/concerns/hyrax/has_representative.rb
hyrax-5.0.0 app/models/concerns/hyrax/has_representative.rb
hyrax-5.0.0.rc3 app/models/concerns/hyrax/has_representative.rb
hyrax-5.0.0.rc2 app/models/concerns/hyrax/has_representative.rb
hyrax-5.0.0.rc1 app/models/concerns/hyrax/has_representative.rb
hyrax-3.6.0 app/models/concerns/hyrax/has_representative.rb
hyrax-4.0.0 app/models/concerns/hyrax/has_representative.rb
hyrax-4.0.0.rc3 app/models/concerns/hyrax/has_representative.rb
hyrax-4.0.0.rc2 app/models/concerns/hyrax/has_representative.rb
hyrax-4.0.0.rc1 app/models/concerns/hyrax/has_representative.rb
hyrax-3.5.0 app/models/concerns/hyrax/has_representative.rb
hyrax-4.0.0.beta2 app/models/concerns/hyrax/has_representative.rb
hyrax-3.4.2 app/models/concerns/hyrax/has_representative.rb
hyrax-4.0.0.beta1 app/models/concerns/hyrax/has_representative.rb
hyrax-3.4.1 app/models/concerns/hyrax/has_representative.rb
hyrax-3.4.0 app/models/concerns/hyrax/has_representative.rb
hyrax-3.3.0 app/models/concerns/hyrax/has_representative.rb
hyrax-3.2.0 app/models/concerns/hyrax/has_representative.rb
hyrax-3.1.0 app/models/concerns/hyrax/has_representative.rb
hyrax-3.0.2 app/models/concerns/hyrax/has_representative.rb