Sha256: 846fcc570f3ed1fe8587c445a5953c0cd255e8776098daaa400e5c795c0d89e4
Contents?: true
Size: 454 Bytes
Versions: 9
Compression:
Stored size: 454 Bytes
Contents
module Hydra::Works::Characterization module Audio extend ActiveSupport::Concern included do # Apply the audio schema. This will add properties defined in the schema. apply_schema AudioSchema, AlreadyThereStrategy # Update the configuration to map the parsed terms to the correct property. parser_mapping.merge!(audio_sample_rate: :sample_rate, audio_duration: :duration) end end end
Version data entries
9 entries across 9 versions & 1 rubygems