Class: AWSRaw::S3::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/awsraw/s3/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#hostObject

Returns the value of attribute host.



4
5
6
# File 'lib/awsraw/s3/configuration.rb', line 4

def host
  @host
end

#regional_hostsObject

Returns the value of attribute regional_hosts.



4
5
6
# File 'lib/awsraw/s3/configuration.rb', line 4

def regional_hosts
  @regional_hosts
end