Created
June 10, 2012 04:29
-
-
Save tyre/2903823 to your computer and use it in GitHub Desktop.
Configuration for File Uploader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FileUploader < AWS::S3::S3Object | |
AWS::S3::Base.establish_connection!( | |
access_key_id: AWS_KEY, | |
secret_access_key: AWS_SECRET) | |
set_current_bucket_to 'hackchat' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment