Class: Fakerclip::Writes::FakeS3::Response
- Inherits:
-
Object
- Object
- Fakerclip::Writes::FakeS3::Response
- Defined in:
- lib/fakerclip/writes.rb
Instance Method Summary collapse
-
#initialize(env) ⇒ Response
constructor
A new instance of Response.
- #to_hash ⇒ Object
Constructor Details
Instance Method Details
#to_hash ⇒ Object
52 53 54 55 56 57 58 59 |
# File 'lib/fakerclip/writes.rb', line 52 def to_hash # TODO: generate etags for multipart uploads { status: 200, headers: { "ETag" => @request.etag }, body: ["OK"] } end |