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-0.84.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-0.83.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-0.82.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-0.81.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-0.80.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-0.79.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-0.78.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-0.77.1 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-0.77.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-0.76.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-0.75.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-0.74.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-0.73.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-0.72.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb
sdr-client-0.71.0 lib/sdr_client/deposit/file_type_file_set_strategy.rb