Sha256: bacd06f4e65ec38a354a8f86f5dada0557ce27babbbdfe8588a9f3d8bebb8a33
Contents?: true
Size: 509 Bytes
Versions: 8
Compression:
Stored size: 509 Bytes
Contents
# frozen_string_literal: true module SdrClient class RedesignedClient # This strategy is for building one file set per uploaded file class SingleFileGroupingStrategy # @param [Array<SdrClient::RedesignedClient::DirectUploadResponse>] uploads the uploaded files to attach. # @return [Array<Array<SdrClient::RedesignedClient::DirectUploadResponse>>] uploads the grouped uploaded files. def self.run(uploads: []) uploads.map { |upload| [upload] } end end end end
Version data entries
8 entries across 8 versions & 1 rubygems