Module: RepresentativeFileVersion

Included in:
Accession, ArchivalObject, DigitalObject, DigitalObjectComponent, Resource
Defined in:
backend/app/model/mixins/representative_file_version.rb

Overview

mixin for archival records that need a computed “representative file version” for banner images and thumbnails in public interface etc.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
# File 'backend/app/model/mixins/representative_file_version.rb', line 7

def self.included(base)
  base.extend(ClassMethods)
end