Skip to content

Instantly share code, notes, and snippets.

@tyre
Created June 10, 2012 04:29
Show Gist options
  • Save tyre/2903823 to your computer and use it in GitHub Desktop.
Save tyre/2903823 to your computer and use it in GitHub Desktop.
Configuration for File Uploader
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