Avalon needs to add a service property to our manifests at the root manifest level to surface an annotation service for our IIIF player Ramp. There isn't a standardized spec for an annotation service so we need to be able to add custom service resources with custom properties. This PR allows a presenter to define a #service method which returns an array of hashes with service definitions which will be added to the manifest wholesale (alongside the service_service and autocomplete_service if defined).
Avalon needs to add a service property to our manifests at the root manifest level to surface an annotation service for our IIIF player Ramp. There isn't a standardized spec for an annotation service so we need to be able to add custom service resources with custom properties. This PR allows a presenter to define a
#service
method which returns an array of hashes with service definitions which will be added to the manifest wholesale (alongside theservice_service
andautocomplete_service
if defined).