Module: RestClient::Mixin::Response

Module | RestClient::Mixin::Response
In: | lib/restclient/mixin/response.rb

### Methods

code cookies headers included

### Classes and Modules

Module RestClient::Mixin::Response::ClassMethods

### Attributes

net_http_res | [R] |

### Public Class methods

included(receiver)

### Public Instance methods

code()

HTTP status code, always 200 since RestClient throws exceptions for other codes.

cookies()

Hash of cookies extracted from response headers

headers()

A hash of the headers, beautified with symbols and underscores. e.g. "Content-type" will become :content_type.

[Validate]