class RHC::Rest::TimeoutException
Public Class Methods
new(message, nested=nil)
click to toggle source
Calls superclass method
RHC::Rest::Exception::new
# File lib/rhc/rest.rb, line 108 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 116 def on_connect? @nested.is_a? HTTPClient::ConnectTimeoutError end
on_receive?()
click to toggle source
# File lib/rhc/rest.rb, line 113 def on_receive? @nested.is_a? HTTPClient::ReceiveTimeoutError end
on_send?()
click to toggle source
# File lib/rhc/rest.rb, line 119 def on_send? @nested.is_a? HTTPClient::SendTimeoutError end