Project

best3

0.0
No release in over 3 years
Low commit activity in last 3 years
Are you depressed? Has high interest rates got you down? My name is Meatwad and today I'm here to offer you a once in a lifetime opportunity. Sell your organs, live, over the internet. Get money back on your baby!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme
PETE MADE A BETTER ONE!
https://github.com/envato/awsraw


#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