Class: IIIFManifest::ManifestBuilder::IIIFManifest::Sequence
Instance Attribute Summary
#inner_hash
Instance Method Summary
collapse
#initialize
Instance Method Details
#canvases ⇒ Object
89
90
91
|
# File 'lib/iiif_manifest/manifest_builder/iiif_service.rb', line 89
def canvases
inner_hash['canvases'] || []
end
|
#canvases=(canvases) ⇒ Object
93
94
95
|
# File 'lib/iiif_manifest/manifest_builder/iiif_service.rb', line 93
def canvases=(canvases)
inner_hash['canvases'] = canvases
end
|
#initial_attributes ⇒ Object
97
98
99
100
101
|
# File 'lib/iiif_manifest/manifest_builder/iiif_service.rb', line 97
def initial_attributes
{
'@type' => 'sc:Sequence'
}
end
|