Module: Pushfile::Amazon
- Included in:
- Upload
- Defined in:
- lib/providers/amazon.rb
Instance Method Summary collapse
-
#amazon ⇒ Object
Set up amazon.
-
#amazon_cdn ⇒ Object
Amazon cdn.
-
#amazon_container ⇒ Object
Amazon container.
Instance Method Details
#amazon ⇒ Object
Set up amazon
5 6 7 8 9 10 11 |
# File 'lib/providers/amazon.rb', line 5 def amazon Fog::Storage.new( :provider => 'AWS', :aws_access_key_id => Pushfile.settings[:amazon_key], :aws_secret_access_key => Pushfile.settings[:amazon_secret] ) end |