Class: Preservation::Client::Catalog
- Inherits:
-
VersionedApiService
- Object
- VersionedApiService
- Preservation::Client::Catalog
- Defined in:
- lib/preservation/client/catalog.rb
Overview
API calls that are about the catalog
Instance Method Summary collapse
Methods inherited from VersionedApiService
Constructor Details
This class inherits a constructor from Preservation::Client::VersionedApiService
Instance Method Details
#update(druid:, version:, size:, storage_location:) ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/preservation/client/catalog.rb', line 11 def update(druid:, version:, size:, storage_location:) http_args = { druid: druid, incoming_version: version, incoming_size: size, storage_location: storage_location, checksums_validated: true } request(druid: druid, version: version, http_args: http_args) end |