Class: IIIFManifest::V3::ManifestBuilder::IIIFManifest::Choice
Instance Attribute Summary
#inner_hash
Instance Method Summary
collapse
#initialize
Instance Method Details
#initial_attributes ⇒ Object
215
216
217
218
219
220
|
# File 'lib/iiif_manifest/v3/manifest_builder/iiif_service.rb', line 215
def initial_attributes
{
'type' => 'Choice',
'choiceHint' => 'user'
}
end
|
#items ⇒ Object
207
208
209
|
# File 'lib/iiif_manifest/v3/manifest_builder/iiif_service.rb', line 207
def items
inner_hash['items'] ||= []
end
|
#items=(items) ⇒ Object
211
212
213
|
# File 'lib/iiif_manifest/v3/manifest_builder/iiif_service.rb', line 211
def items=(items)
inner_hash['items'] = items
end
|