Integrating Amazon s3 with Sinatra
Brad Scharmann
23

As of AWS-SDK 2 : require ‘aws-sdk’

require ‘aws-sdk’
s3 = Aws::S3::Resource.new(region:'us-west-2')
obj = s3.bucket('bucket-name').object('key')

You should probably remove this article. It’s outdated…

Like what you read? Give Michael Gabay a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.