Class: Spotlight::Resources::IiifHarvester
- Inherits:
-
Spotlight::Resource
- Object
- ActiveRecord::Base
- Spotlight::Resource
- Spotlight::Resources::IiifHarvester
- Defined in:
- app/models/spotlight/resources/iiif_harvester.rb
Overview
harvest Images from IIIF Manifest and turn them into a Spotlight::Resource Note: IIIF API : iiif.io/api/presentation/2.0
Instance Method Summary collapse
Methods inherited from Spotlight::Resource
#document_model, #reindex_later, #save_and_index
Instance Method Details
#iiif_manifests ⇒ Object
13 14 15 |
# File 'app/models/spotlight/resources/iiif_harvester.rb', line 13 def iiif_manifests @iiif_manifests ||= IiifService.parse(url) end |