class GdsApi::AssetManager

def update_asset(id, asset)

Other tags:
    Example: Update a file from disk -

Raises:
  • (HTTPErrorResponse) - if the request returns an error

Returns:
  • (GdsApi::Response) - The wrapped http response from the api. Behaves

Parameters:
  • asset (Hash) -- The attributes for the asset to send to the api. Must
  • id (String) -- The asset identifier (a UUID).
def update_asset(id, asset)
  put_multipart("#{base_url}/assets/#{id}", asset: asset)
end