Module: Hydra::Works::Characterization
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/hydra/works/characterization.rb,
lib/hydra/works/characterization/fits_document.rb,
lib/hydra/works/characterization/schema/base_schema.rb,
lib/hydra/works/characterization/schema/audio_schema.rb,
lib/hydra/works/characterization/schema/image_schema.rb,
lib/hydra/works/characterization/schema/video_schema.rb,
lib/hydra/works/characterization/schema/document_schema.rb
Defined Under Namespace
Classes: AudioSchema, BaseSchema, DocumentSchema, FitsDocument, ImageSchema, VideoSchema
Class Attribute Summary collapse
-
.mapper ⇒ Object
Returns the value of attribute mapper.
Class Method Summary collapse
Class Attribute Details
.mapper ⇒ Object
Returns the value of attribute mapper.
6 7 8 |
# File 'lib/hydra/works/characterization.rb', line 6 def mapper @mapper end |
Class Method Details
.mapper_defaults ⇒ Object
11 12 13 14 15 16 |
# File 'lib/hydra/works/characterization.rb', line 11 def mapper_defaults { audio_duration: :duration, audio_sample_rate: :sample_rate, exif_tool_version: :exif_version, file_author: :creator, file_language: :language, file_mime_type: :mime_type, video_audio_sample_rate: :sample_rate, video_duration: :duration, video_height: :height, video_sample_rate: :sample_rate, video_width: :width } end |