Sha256: 6afc94b074642f4e75b2db0338a88d86f4f108e0b6ab07a7ae852e7c22fee47c
Contents?: true
Size: 982 Bytes
Versions: 12
Compression:
Stored size: 982 Bytes
Contents
# frozen_string_literal: true module Hyrax module FileSetBehavior extend ActiveSupport::Concern include Hyrax::WithEvents include Hydra::Works::FileSetBehavior include Hyrax::VirusCheck include Hyrax::FileSet::Characterization include Hydra::WithDepositor include Serializers include Hyrax::Noid include Hyrax::FileSet::Derivatives include Permissions include Hyrax::FileSet::Indexing include Hyrax::FileSet::BelongsToWorks include Hyrax::FileSet::Querying include HumanReadableType include CoreMetadata include Hyrax::BasicMetadata include Naming include Hydra::AccessControls::Embargoable include GlobalID::Identification included do attr_accessor :file end def representative_id to_param end def thumbnail_id to_param end # Cast to a SolrDocument by querying from Solr def to_presenter CatalogController.new.fetch(id).last end end end
Version data entries
12 entries across 12 versions & 1 rubygems