Sha256: 2de047003a7e4ca3adb3a16777d9b8d849cd77ca9dcd9c13146cf0da20050c0b
Contents?: true
Size: 977 Bytes
Versions: 6
Compression:
Stored size: 977 Bytes
Contents
module Hydra::Works module Characterization extend ActiveSupport::Autoload class << self attr_accessor :mapper def mapper @mapper ||= mapper_defaults end def mapper_defaults { file_author: :creator, file_language: :language, file_mime_type: :mime_type, audio_duration: :duration, audio_sample_rate: :sample_rate, audio_bit_rate: :bit_rate, video_audio_sample_rate: :sample_rate, track_frame_rate: :frame_rate, video_duration: :duration, video_sample_rate: :sample_rate, video_bit_rate: :bit_rate, video_width: :width, video_track_width: :width, video_height: :height, video_track_height: :height } end end autoload :FitsDocument, 'hydra/works/characterization/fits_document.rb' autoload_under 'schema' do autoload :AudioSchema autoload :BaseSchema autoload :DocumentSchema autoload :ImageSchema autoload :VideoSchema end end end
Version data entries
6 entries across 6 versions & 1 rubygems