Sha256: 22bc1b0531de22f5abcf6adde4a9bc6ce550b511f30b16b31a5b477660cafcb5
Contents?: true
Size: 573 Bytes
Versions: 10
Compression:
Stored size: 573 Bytes
Contents
# frozen_string_literal: true module PurlFetcher class Client DirectUploadResponse = Data.define(:id, :key, :checksum, :byte_size, :content_type, :filename, :metadata, :created_at, :direct_upload, :signed_id, :service_name) do def with_filename(filename) self.class.new(**deconstruct_keys(nil).merge(filename:)) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems