Sha256: f01a681bb11d529f75c5e2c180e6e16c054aff4232c42addda30f493b20261a5
Contents?: true
Size: 593 Bytes
Versions: 67
Compression:
Stored size: 593 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 def multires_image_file_path URI.parse(datastreams[Ddr::Datastreams::MULTIRES_IMAGE].dsLocation).path if datastreams[Ddr::Datastreams::MULTIRES_IMAGE].dsLocation end end end end
Version data entries
67 entries across 67 versions & 1 rubygems