Class: HttpCapture::NetHTTPResponse
- Defined in:
- lib/net/http/capture.rb
Instance Attribute Summary
Attributes inherited from Response
Instance Method Summary collapse
Methods inherited from Response
#[], #each, #initialize, #status, #successful?
Constructor Details
This class inherits a constructor from HttpCapture::Response
Instance Method Details
#body ⇒ Object
34 35 36 37 |
# File 'lib/net/http/capture.rb', line 34 def body return @real_response.body.stored_body if @real_response.body.respond_to? :stored_body @real_response.body end |