Class: HttpCapture::HTTPClientResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/httpclient/capture.rb

Instance Attribute Summary

Attributes inherited from Response

#duration, #request

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

#bodyObject

Body access



49
50
51
# File 'lib/httpclient/capture.rb', line 49

def body
  @real_response.content
end