Sha256: 08f36a9e02b590b8fd2563c072721c6eb40290251b6393ce33ea084770fdfa74
Contents?: true
Size: 434 Bytes
Versions: 12
Compression:
Stored size: 434 Bytes
Contents
class Lono::S3 class AwsSetup include Lono::AwsServices def check! s3.config.region rescue Aws::Errors::MissingRegionError => e puts "ERROR: #{e.class}: #{e.message}".color(:red) puts <<~EOL Unable to detect the AWS_REGION to make AWS API calls. This is might be because the AWS access has not been set up yet. Please either your ~/.aws files. EOL exit 1 end end end
Version data entries
12 entries across 12 versions & 1 rubygems