class RHC::Rest::TimeoutException

Public Class Methods

new(message, nested=nil) click to toggle source
# File lib/rhc/rest.rb, line 101
def initialize(message, nested=nil)
  super(message)
  @nested = nested
end

Public Instance Methods

on_connect?() click to toggle source
# File lib/rhc/rest.rb, line 109
def on_connect?
  @nested.is_a? HTTPClient::ConnectTimeoutError
end
on_receive?() click to toggle source
# File lib/rhc/rest.rb, line 106
def on_receive?
  @nested.is_a? HTTPClient::ReceiveTimeoutError
end
on_send?() click to toggle source
# File lib/rhc/rest.rb, line 112
def on_send?
  @nested.is_a? HTTPClient::SendTimeoutError
end