method

create_and_upload!

Importance_1
v7.0.0 - Show latest stable - 0 notes - Class: Blob
create_and_upload!(key: nil, io:, filename:, content_type: nil, metadata: nil, service_name: nil, identify: true, record: nil) public

Creates a new blob instance and then uploads the contents of the given io to the service. The blob instance is going to be saved before the upload begins to prevent the upload clobbering another due to key collisions. When providing a content type, pass identify: false to bypass automatic content type inference.

Show source
Register or log in to add new notes.