Sha256: ea638304f58a3fb6d378e93547419c3f0cc4ac8082bac3ee8ffdb618b18bf389

Contents?: true

Size: 175 Bytes

Versions: 3

Compression:

Stored size: 175 Bytes

Contents

module AwsS3
  class << self
    S3_REGION = APP_CONFIG['s3_region'] || 'us-east-1'

    def resource
      @s3 ||= Aws::S3::Resource.new(region: S3_REGION)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aleph_analytics-0.2.0 lib/aws_s3.rb
aleph_analytics-0.1.0 lib/aws_s3.rb
aleph_analytics-0.0.6 lib/aws_s3.rb