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

Inherits:
Object
  • 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

Instance Method Details

#bodyObject



16
17
18
# File 'lib/fake_aws/s3/responses/empty.rb', line 16

def body
  ""
end

#headersObject



12
13
14
# File 'lib/fake_aws/s3/responses/empty.rb', line 12

def headers
  common_headers
end

#status_codeObject



8
9
10
# File 'lib/fake_aws/s3/responses/empty.rb', line 8

def status_code
  200
end