Method: FakeS3::Servlet#initialize
- Defined in:
- lib/fakes3/server.rb
#initialize(server, store, hostname) ⇒ Servlet
Returns a new instance of Servlet.
51 52 53 54 55 56 57 |
# File 'lib/fakes3/server.rb', line 51 def initialize(server,store,hostname) super(server) @store = store @hostname = hostname @port = server.config[:Port] @root_hostnames = [hostname,'localhost','s3.amazonaws.com','s3.localhost'] end |