The best Ruby Amazon S3 library in existence (well, not yet).
Switch branches/tags
Nothing to show
Pull request Compare This branch is 4 commits behind ryan-allen:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
Gemfile.lock
MIT-LICENSE
README
Rakefile
best3.gemspec

README

#EXAMPLE: 

# api wrapper w/ your aws credentials
s3 = Best3(aws_key, aws_secret_key).s3()

# make a call to s3, args are: http method, REST uri (w/ params), request headers, request body

# get a list of buckets
puts s3.('GET', '/').inspect 

# put a custom acl on an object
puts s3.('PUT', '/path/to/object?acl', {'Content-Type' => 'text/xml'}, acl_in_xml)

# NOTES:
# all output is in the raw rest api output
# wraps signing of requests for you, which is a pain
# currently works with s3 and cloudfront
# very alpha so not all stuff is tested but the library is small