Class: InovaAwsS3::Configuration
- Inherits:
-
Object
- Object
- InovaAwsS3::Configuration
- Defined in:
- lib/inova_aws_s3/test_config.rb,
lib/inova_aws_s3/configuration.rb
Instance Attribute Summary collapse
-
#access_key ⇒ Object
Returns the value of attribute access_key.
-
#acl ⇒ Object
Returns the value of attribute acl.
-
#bucket_name ⇒ Object
Returns the value of attribute bucket_name.
-
#folder_name ⇒ Object
Returns the value of attribute folder_name.
-
#region ⇒ Object
Returns the value of attribute region.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 13 14 15 16 17 18 |
# File 'lib/inova_aws_s3/test_config.rb', line 10 def initialize # Set test-specific configuration values here @acl= ENV['TEST_ACL'] @bucket_name= ENV['TEST_BUCKET'] @region= ENV['TEST_REGION'] @access_key= ENV['TEST_ACCESS_KEY'] @secret_key= ENV['TEST_SECRET_KEY'] @folder_name= ENV['TEST_FOLDER'] end |
Instance Attribute Details
#access_key ⇒ Object
Returns the value of attribute access_key.
8 9 10 |
# File 'lib/inova_aws_s3/test_config.rb', line 8 def access_key @access_key end |
#acl ⇒ Object
Returns the value of attribute acl.
8 9 10 |
# File 'lib/inova_aws_s3/test_config.rb', line 8 def acl @acl end |
#bucket_name ⇒ Object
Returns the value of attribute bucket_name.
8 9 10 |
# File 'lib/inova_aws_s3/test_config.rb', line 8 def bucket_name @bucket_name end |
#folder_name ⇒ Object
Returns the value of attribute folder_name.
8 9 10 |
# File 'lib/inova_aws_s3/test_config.rb', line 8 def folder_name @folder_name end |
#region ⇒ Object
Returns the value of attribute region.
8 9 10 |
# File 'lib/inova_aws_s3/test_config.rb', line 8 def region @region end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
8 9 10 |
# File 'lib/inova_aws_s3/test_config.rb', line 8 def secret_key @secret_key end |