methods/s3_common.rb
# Initiate an AWS S3 Resource connection
Initiate an AWS S3 Resource connection
Initiate an AWS S3 Resource connection
def initiate_aws_s3_resource(options)
  s3 = Aws::S3::Resource.new(
    :region             =>  options['region'], 
    :access_key_id      =>  options['access'],
    :secret_access_key  =>  options['secret']
  )
  return s3
end
def initiate_aws_s3_resource ( options ) s3 = Aws :: S3 :: Resource . new ( :region => options [ 'region' ] , :access_key_id => options [ 'access' ] , :secret_access_key => options [ 'secret' ] ) return s3 end
Initiate an AWS S3 Resource connection
Initiate an AWS S3 Resource connection
options
<not_specific>