instance method upload_stream

Ruby on Rails 8.1.2

Since v7.2.3 Private

Available in: v7.2.3 v8.0.4 v8.1.2

Signature

upload_stream(key:, **options, &block)

No documentation comment.

Parameters

key keyreq
options keyrest
block block
Source
# File activestorage/lib/active_storage/service/s3_service.rb, line 121
      def upload_stream(key:, **options, &block)
        if @transfer_manager
          @transfer_manager.upload_stream(key: key, bucket: bucket.name, **options, &block)
        else
          object_for(key).upload_stream(**options, &block)
        end
      end

Defined in activestorage/lib/active_storage/service/s3_service.rb line 121 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveStorage::Service::S3Service

Type at least 2 characters to search.

↑↓ navigate · open · esc close