Class: IIIFManifest::V3::ManifestBuilder::IIIFManifest::Choice
Instance Attribute Summary
#inner_hash
Instance Method Summary
collapse
#initialize
Instance Method Details
#initial_attributes ⇒ Object
157
158
159
160
161
162
|
# File 'lib/iiif_manifest/v3/manifest_builder/iiif_service.rb', line 157
def initial_attributes
{
'type' => 'Choice',
'choiceHint' => 'user'
}
end
|
#items ⇒ Object
149
150
151
|
# File 'lib/iiif_manifest/v3/manifest_builder/iiif_service.rb', line 149
def items
inner_hash['items'] ||= []
end
|
#items=(items) ⇒ Object
153
154
155
|
# File 'lib/iiif_manifest/v3/manifest_builder/iiif_service.rb', line 153
def items=(items)
inner_hash['items'] = items
end
|