Sha256: b023d2c1091b4026a20faafe32bd022a9f76536b5d44d15b2b0432911b987399

Contents?: true

Size: 407 Bytes

Versions: 2

Compression:

Stored size: 407 Bytes

Contents

module Ddr
  module Models
    module HasMultiresImage
      extend ActiveSupport::Concern
  
      included do
        has_file_datastream name: Ddr::Datastreams::MULTIRES_IMAGE,
                            label: "Multi-resolution image derivative for this object",
                            control_group: 'E'

        include FileManagement unless include?(FileManagement)
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ddr-models-1.13.1 lib/ddr/models/has_multires_image.rb
ddr-models-1.13.0 lib/ddr/models/has_multires_image.rb