Sha256: 608f81e9c6dab273a5d9c894eb8e99a814ae8f12896e6648d2c1e6924649b5ed

Contents?: true

Size: 270 Bytes

Versions: 5

Compression:

Stored size: 270 Bytes

Contents

module S3Multipart
  module Uploader
    module Validations

      attr_accessor :file_types, :size_limits

      def accept(types)
        self.file_types = types         
      end

      def limit(sizes)
        self.size_limits = sizes
      end

    end
  end 
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
s3_multipart-0.0.10.5 lib/s3_multipart/uploader/validations.rb
s3_multipart-0.0.10.4 lib/s3_multipart/uploader/validations.rb
s3_multipart-0.0.10.3 lib/s3_multipart/uploader/validations.rb
s3_multipart-0.0.10.2 lib/s3_multipart/uploader/validations.rb
s3_multipart-0.0.9 lib/s3_multipart/uploader/validations.rb