Class: AwsS3EnvironmentVariables

Inherits:
BaseEnvironmentVariables show all
Defined in:
lib/autosparkle/environment/variables/aws_s3_environment_variables.rb

Overview

A class to load the AWS S3 environment variables

Instance Method Summary collapse

Methods inherited from BaseEnvironmentVariables

#method_missing, #respond_to_missing?

Constructor Details

#initializeAwsS3EnvironmentVariables

Returns a new instance of AwsS3EnvironmentVariables.



7
8
9
10
11
12
13
14
# File 'lib/autosparkle/environment/variables/aws_s3_environment_variables.rb', line 7

def initialize
  super({
    access_key: 'AWS_S3_ACCESS_KEY',
    secret_access_key: 'AWS_S3_SECRET_ACCESS_KEY',
    region: 'AWS_S3_REGION',
    bucket_name: 'AWS_S3_BUCKET_NAME'
  })
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class BaseEnvironmentVariables