Class: IIIFManifest::V3::ManifestBuilder::IIIFManifest::SearchService
Instance Attribute Summary
#inner_hash
Instance Method Summary
collapse
#initialize
Instance Method Details
#initial_attributes ⇒ Object
273
274
275
276
277
278
279
280
|
# File 'lib/iiif_manifest/v3/manifest_builder/iiif_service.rb', line 273
def initial_attributes
{
'@context' => 'http://iiif.io/api/search/1/context.json',
'profile' => 'http://iiif.io/api/search/1/search',
'label' => 'Search within this manifest',
'type' => 'SearchService1'
}
end
|
#search_service=(search_service) ⇒ Object
269
270
271
|
# File 'lib/iiif_manifest/v3/manifest_builder/iiif_service.rb', line 269
def search_service=(search_service)
inner_hash['id'] = search_service
end
|
#service=(service) ⇒ Object
265
266
267
|
# File 'lib/iiif_manifest/v3/manifest_builder/iiif_service.rb', line 265
def service=(service)
inner_hash['service'] = service
end
|