lib/aws_s3.rb in aleph_analytics-0.0.5 vs lib/aws_s3.rb in aleph_analytics-0.0.6

- old
+ new

@@ -1,7 +1,9 @@ module AwsS3 class << self + S3_REGION = APP_CONFIG['s3_region'] || 'us-east-1' + def resource - @s3 ||= Aws::S3::Resource.new(region: 'us-east-1') + @s3 ||= Aws::S3::Resource.new(region: S3_REGION) end end end