Method: Microstatic::UsesFog#connection
- Defined in:
- lib/microstatic/uses_fog.rb
#connection ⇒ Object
TODO: rename connection to storage
14 15 16 17 18 19 20 21 |
# File 'lib/microstatic/uses_fog.rb', line 14 def connection @_connection ||= Fog::Storage.new({ :provider => 'AWS', :aws_access_key_id => @aws_creds.fetch(:access_key_id), :aws_secret_access_key => @aws_creds.fetch(:secret_access_key), :path_style => true }) end |