Class: FakeAWS::S3::Responses::Empty

Inherits:
Rack::Response
  • Object
show all
Includes:
Common
Defined in:
lib/fake_aws/s3/responses/empty.rb

Instance Method Summary collapse

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