Sha256: 1e53533144346964ae583900a447038804779708e2a809d9c39bfa762a3d78d5

Contents?: true

Size: 421 Bytes

Versions: 55

Compression:

Stored size: 421 Bytes

Contents

# frozen_string_literal: true

module SdrClient
  module Deposit
    # This strategy is for building the type of a fileset
    class ImageFileSetStrategy
      # @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.image
      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/image_file_set_strategy.rb
sdr-client-2.17.0 lib/sdr_client/deposit/image_file_set_strategy.rb
sdr-client-2.16.0 lib/sdr_client/deposit/image_file_set_strategy.rb
sdr-client-2.13.2 lib/sdr_client/deposit/image_file_set_strategy.rb
sdr-client-2.13.1 lib/sdr_client/deposit/image_file_set_strategy.rb
sdr-client-2.13.0 lib/sdr_client/deposit/image_file_set_strategy.rb
sdr-client-2.13.0.beta2 lib/sdr_client/deposit/image_file_set_strategy.rb
sdr-client-2.13.0.beta1 lib/sdr_client/deposit/image_file_set_strategy.rb
sdr-client-2.12.0 lib/sdr_client/deposit/image_file_set_strategy.rb
sdr-client-2.11.1 lib/sdr_client/deposit/image_file_set_strategy.rb
sdr-client-2.11.0 lib/sdr_client/deposit/image_file_set_strategy.rb
sdr-client-2.10.1 lib/sdr_client/deposit/image_file_set_strategy.rb
sdr-client-2.10.0 lib/sdr_client/deposit/image_file_set_strategy.rb
sdr-client-2.9.0 lib/sdr_client/deposit/image_file_set_strategy.rb
sdr-client-2.8.0 lib/sdr_client/deposit/image_file_set_strategy.rb
sdr-client-2.7.1 lib/sdr_client/deposit/image_file_set_strategy.rb
sdr-client-2.7.0 lib/sdr_client/deposit/image_file_set_strategy.rb
sdr-client-2.6.0 lib/sdr_client/deposit/image_file_set_strategy.rb
sdr-client-2.5.0 lib/sdr_client/deposit/image_file_set_strategy.rb
sdr-client-2.4.0 lib/sdr_client/deposit/image_file_set_strategy.rb