Sha256: 43f9f8e327721f7c01ec5432ff54431a98c581117194936c84fce41cbcbf2251
Contents?: true
Size: 622 Bytes
Versions: 9
Compression:
Stored size: 622 Bytes
Contents
module Hydra::Works::Characterization module Video extend ActiveSupport::Concern included do # Apply the module schema. This will add properties defined in the schema. apply_schema VideoSchema, AlreadyThereStrategy # Update the configuration to map the parsed terms to the correct property. parser_mapping.merge!(video_sample_rate: :sample_rate, video_audio_sample_rate: :sample_rate, video_duration: :duration, video_width: :width, video_height: :height) end end end
Version data entries
9 entries across 9 versions & 1 rubygems