Method: Patron::Response#body
- Defined in:
- lib/patron/response.rb
#body ⇒ String? (readonly)
Returns the response body as a String encoded as Encoding::BINARY
or
or nil
if the response was written directly to a file.
21 22 23 |
# File 'lib/patron/response.rb', line 21 def body @body end |