Class: FakeAWS::S3::Responses::Empty
- Inherits:
-
Rack::Response
- Object
- Rack::Response
- FakeAWS::S3::Responses::Empty
- Includes:
- Common
- Defined in:
- lib/fake_aws/s3/responses/empty.rb
Instance Method Summary collapse
-
#initialize(status = 200, headers = {}) ⇒ Empty
constructor
A new instance of Empty.
Methods included from Common
#common_headers, #to_rack_response
Constructor Details
#initialize(status = 200, headers = {}) ⇒ Empty
Returns a new instance of Empty.
10 11 12 |
# File 'lib/fake_aws/s3/responses/empty.rb', line 10 def initialize(status = 200, headers = {}) super([], status, common_headers.merge(headers)) end |