Sha256: 9e4f0e4f6c71d3ec6f8108666a870b2cd0e64f4b39d495a393ffa309ba7257c9

Contents?: true

Size: 491 Bytes

Versions: 20

Compression:

Stored size: 491 Bytes

Contents

module Ddr::Models
  module HasMultiresImage
    extend ActiveSupport::Concern

    included do
      has_file_datastream name: Ddr::Datastreams::MULTIRES_IMAGE,
                          type: Ddr::Datastreams::MultiresImageDatastream,
                          label: "Multi-resolution image derivative for this object",
                          control_group: "E"
    end

    def multires_image_file_path
      datastreams[Ddr::Datastreams::MULTIRES_IMAGE].file_path
    end

  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
ddr-models-2.11.0 lib/ddr/models/has_multires_image.rb
ddr-models-2.10.2 lib/ddr/models/has_multires_image.rb
ddr-models-2.10.1 lib/ddr/models/has_multires_image.rb
ddr-models-2.10.0 lib/ddr/models/has_multires_image.rb
ddr-models-2.10.0.rc2 lib/ddr/models/has_multires_image.rb
ddr-models-2.10.0.rc1 lib/ddr/models/has_multires_image.rb
ddr-models-2.9.2 lib/ddr/models/has_multires_image.rb
ddr-models-2.9.1 lib/ddr/models/has_multires_image.rb
ddr-models-2.9.0 lib/ddr/models/has_multires_image.rb
ddr-models-2.9.0.rc1 lib/ddr/models/has_multires_image.rb
ddr-models-2.8.0 lib/ddr/models/has_multires_image.rb
ddr-models-2.8.0.rc1 lib/ddr/models/has_multires_image.rb
ddr-models-2.7.6 lib/ddr/models/has_multires_image.rb
ddr-models-2.7.5 lib/ddr/models/has_multires_image.rb
ddr-models-2.7.4 lib/ddr/models/has_multires_image.rb
ddr-models-2.7.3 lib/ddr/models/has_multires_image.rb
ddr-models-2.7.2 lib/ddr/models/has_multires_image.rb
ddr-models-2.7.1 lib/ddr/models/has_multires_image.rb
ddr-models-2.7.0 lib/ddr/models/has_multires_image.rb
ddr-models-2.7.0.rc1 lib/ddr/models/has_multires_image.rb