Class: RestClient::Request::Redirect

### Home Classes Methods

### In Files

- lib/restclient/exceptions.rb

### Parent

RestClient::Exception

### Methods

- ::new
- #message

### 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::Request::Redirect

A redirect was encountered; caught by execute to retry with the new url.

### Attributes

url[RW]

### Public Class Methods

new(url) click to toggle source

    # File lib/restclient/exceptions.rb, line 169
    def initialize(url)
      @url = url
    end

### Public Instance Methods

message() click to toggle source

    # File lib/restclient/exceptions.rb, line 163
    def message
      'Redirect'
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.