Class: InovaAwsS3::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/inova_aws_s3/test_config.rb,
lib/inova_aws_s3/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_keyObject

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

#aclObject

Returns the value of attribute acl.



8
9
10
# File 'lib/inova_aws_s3/test_config.rb', line 8

def acl
  @acl
end

#bucket_nameObject

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_nameObject

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

#regionObject

Returns the value of attribute region.



8
9
10
# File 'lib/inova_aws_s3/test_config.rb', line 8

def region
  @region
end

#secret_keyObject

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