Exception: HTTPClient::RetryableResponse

Inherits:
StandardError
  • Object
show all
Defined in:
lib/httpclient.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(res = nil) ⇒ RetryableResponse

Returns a new instance of RetryableResponse.



981
982
983
# File 'lib/httpclient.rb', line 981

def initialize(res = nil)
  @res = res
end

Instance Attribute Details

#resObject (readonly)

Returns the value of attribute res.



979
980
981
# File 'lib/httpclient.rb', line 979

def res
  @res
end