Sha256: f2f9648b5c7e9cb44aeba1bedf8460193a64ce3c952bf0e50891f0aff5550ab9

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 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

1 entries across 1 versions & 1 rubygems

Version Path
s3_multipart-0.0.10.6 lib/s3_multipart/uploader/validations.rb