Share a private S3 object

Via temporary presigned URL

Snippet AWS S3 Ruby SDK

Uploading text string or file to S3

Via AWS Ruby SDK v2

Snippet AWS S3 Ruby SDK