Class: AWSRaw::S3::Configuration
- Inherits:
-
Object
- Object
- AWSRaw::S3::Configuration
- Defined in:
- lib/awsraw/s3/configuration.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#regional_hosts ⇒ Object
Returns the value of attribute regional_hosts.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 |
# File 'lib/awsraw/s3/configuration.rb', line 6 def initialize @host = "s3.amazonaws.com" @regional_hosts = Hash.new { |hash, region| hash[region] = "s3-#{region}.amazonaws.com" } end |
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
4 5 6 |
# File 'lib/awsraw/s3/configuration.rb', line 4 def host @host end |
#regional_hosts ⇒ Object
Returns the value of attribute regional_hosts.
4 5 6 |
# File 'lib/awsraw/s3/configuration.rb', line 4 def regional_hosts @regional_hosts end |