Class: StaticAudioAggregator
- Inherits:
-
ResourceAggregator
- Object
- ActiveFedora::Base
- ResourceAggregator
- StaticAudioAggregator
- Defined in:
- app/models/static_audio_aggregator.rb
Instance Method Summary collapse
Methods inherited from ResourceAggregator
Methods included from Cul::Hydra::Models::LinkableResources
#audio_resource, #basic_resource, #http_client, #image_resource, #linkable_resources
Methods included from Cul::Hydra::Fedora::UrlHelperBehavior
#fedora_ds_url, #fedora_method_url, #fedora_object_url, #fedora_risearch_url, #fedora_url, #pid_for_url
Methods included from Cul::Hydra::Models::Aggregator
#add_member, #aggregator!, #has_struct_metadata?, #member_ids, #members, #remove_member, #solr_members
Methods included from Cul::Hydra::Models::Common
#cmodel_pid, #datastreams_in_fedora, #has_desc?, #initialize, #label=, #rdf_type, #set_size_labels, #to_solr, #update_datastream_attributes
Instance Method Details
#route_as ⇒ Object
5 6 7 |
# File 'app/models/static_audio_aggregator.rb', line 5 def route_as "audio" end |
#thumbnail_info ⇒ Object
9 10 11 |
# File 'app/models/static_audio_aggregator.rb', line 9 def thumbnail_info return {:url=>image_url("cul_scv_hydra/crystal/mp3.png"),:mime=>'image/png'} end |