Sha256: c945e37700ab0b931aad1c725f90677f7f9b3fc6bba9c8ff79573aa74d3b1fe9
Contents?: true
Size: 623 Bytes
Versions: 2
Compression:
Stored size: 623 Bytes
Contents
module Ddr::Models module Streamable extend ActiveSupport::Concern included do has_file_datastream name: Ddr::Datastreams::STREAMABLE_MEDIA, type: Ddr::Datastreams::StreamableMediaDatastream, versionable: true, label: "Streamable media file for this object", control_group: "E" end def streamable_media_type datastreams[Ddr::Datastreams::STREAMABLE_MEDIA].mimeType end def streamable_media_path datastreams[Ddr::Datastreams::STREAMABLE_MEDIA].file_path end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ddr-models-2.8.0 | lib/ddr/models/streamable.rb |
ddr-models-2.8.0.rc1 | lib/ddr/models/streamable.rb |