Module: RestClient::Response

### Home Classes Methods

### In Files

- lib/restclient/response.rb

### Methods

- ::create
- #body

### Included Modules

- RestClient::AbstractResponse

### Class/Module Index

Quicksearch

- RestClient
- RestClient::AbstractResponse
- RestClient::Exception
- RestClient::ExceptionWithResponse
- RestClient::Exceptions
- RestClient::MaxRedirectsReached
- RestClient::Payload
- RestClient::Payload::Base
- RestClient::Payload::Multipart
- RestClient::Payload::Streamed
- RestClient::Payload::UrlEncoded
- RestClient::Platform
- RestClient::RawResponse
- RestClient::Redirect
- RestClient::Request
- RestClient::Request::Redirect
- RestClient::Request::RequestFailed
- RestClient::RequestFailed
- RestClient::Resource
- RestClient::Response
- RestClient::ResponseForException
- RestClient::SSLCertificateNotVerified
- RestClient::ServerBrokeConnection
- RestClient::Windows
- RestClient::Windows::RootCerts
- RestClient::Windows::RootCerts::CERT_CONTEXT

No matching classes.

# RestClient::Response

A Response from RestClient, you can access the response body, the code or the headers.

### Public Class Methods

create(body, net_http_res, args, request) click to toggle source

    # File lib/restclient/response.rb, line 13
    def self.create body, net_http_res, args, request
      result = body || ''
      result.extend Response
      result.response_set_vars(net_http_res, args, request)
      result
    end

### Public Instance Methods

body() click to toggle source

    # File lib/restclient/response.rb, line 9
    def body
      self
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.