Sha256: d48e1d4118dc1df74eec1e91385cafac6521ee8c117f7e6b51cd6d5d78cf51d4

Contents?: true

Size: 423 Bytes

Versions: 55

Compression:

Stored size: 423 Bytes

Contents

# frozen_string_literal: true

module SdrClient
  module Deposit
    # This strategy is for building the type of a fileset
    class FileTypeFileSetStrategy
      # @param [Array<SdrClient::Deposit::Files>] files the files that are part of this strategy
      # @return [String] The URI that represents the type of file_set
      def self.run(files: [])
        Cocina::Models::FileSetType.file
      end
    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
sdr-client-2.18.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-2.17.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-2.16.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-2.13.2 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-2.13.1 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-2.13.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-2.13.0.beta2 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-2.13.0.beta1 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-2.12.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-2.11.1 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-2.11.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-2.10.1 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-2.10.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-2.9.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-2.8.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-2.7.1 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-2.7.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-2.6.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-2.5.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-2.4.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb