lib/s3-static-site.rb
# Establishes the connection to Amazon S3
Establishes the connection to Amazon S3
Establishes the connection to Amazon S3
def establish_connection!
    AWS.config(:logger => Logger.new(STDOUT))
    AWS::S3.new(
      :access_key_id => access_key_id,
      :secret_access_key => secret_access_key
    )
  end
def establish_connection! AWS . config ( :logger => Logger . new ( STDOUT ) ) AWS :: S3 . new ( :access_key_id => access_key_id , :secret_access_key => secret_access_key ) end
Establishes the connection to Amazon S3
Establishes the connection to Amazon S3
# Send logging to STDOUT