Class: IIIFManifest::ManifestBuilder::IIIFManifest::Resource

Inherits:
IIIFManifest::ManifestBuilder::IIIFService show all
Defined in:
lib/iiif_manifest/manifest_builder/iiif_service.rb

Instance Attribute Summary

Attributes inherited from IIIFManifest::ManifestBuilder::IIIFService

#inner_hash

Instance Method Summary collapse

Methods inherited from IIIFManifest::ManifestBuilder::IIIFService

#initialize

Constructor Details

This class inherits a constructor from IIIFManifest::ManifestBuilder::IIIFService

Instance Method Details

#initial_attributesObject



137
138
139
140
141
# File 'lib/iiif_manifest/manifest_builder/iiif_service.rb', line 137

def initial_attributes
  {
    '@type' => 'sc:Range'
  }
end

#service=(service) ⇒ Object



133
134
135
# File 'lib/iiif_manifest/manifest_builder/iiif_service.rb', line 133

def service=(service)
  inner_hash['service'] = service
end