Class: IIIFManifest::V3::ManifestBuilder::IIIFManifest::Annotation
Instance Attribute Summary
#inner_hash
Instance Method Summary
collapse
#initialize
Instance Method Details
#body ⇒ Object
190
191
192
|
# File 'lib/iiif_manifest/v3/manifest_builder/iiif_service.rb', line 190
def body
inner_hash['body']
end
|
#body=(body) ⇒ Object
186
187
188
|
# File 'lib/iiif_manifest/v3/manifest_builder/iiif_service.rb', line 186
def body=(body)
inner_hash['body'] = body
end
|
#initial_attributes ⇒ Object
194
195
196
197
198
199
|
# File 'lib/iiif_manifest/v3/manifest_builder/iiif_service.rb', line 194
def initial_attributes
{
'type' => 'Annotation',
'motivation' => 'painting'
}
end
|