Class: IIIFManifest::V3::ManifestBuilder::IIIFManifest::Canvas
Instance Attribute Summary
#inner_hash
Instance Method Summary
collapse
#initialize
Instance Method Details
#initial_attributes ⇒ Object
122
123
124
125
126
|
# File 'lib/iiif_manifest/v3/manifest_builder/iiif_service.rb', line 122
def initial_attributes
{
'type' => 'Canvas'
}
end
|
#items ⇒ Object
114
115
116
|
# File 'lib/iiif_manifest/v3/manifest_builder/iiif_service.rb', line 114
def items
inner_hash['items'] ||= []
end
|
#items=(items) ⇒ Object
118
119
120
|
# File 'lib/iiif_manifest/v3/manifest_builder/iiif_service.rb', line 118
def items=(items)
inner_hash['items'] = items
end
|
#label ⇒ Object
106
107
108
|
# File 'lib/iiif_manifest/v3/manifest_builder/iiif_service.rb', line 106
def label
inner_hash['label']
end
|
#label=(label) ⇒ Object
110
111
112
|
# File 'lib/iiif_manifest/v3/manifest_builder/iiif_service.rb', line 110
def label=(label)
inner_hash['label'] = label
end
|