RestClient::Exception
Base RestClient exception when there’s a response available
# File lib/restclient/exceptions.rb, line 14 def initialize(response=nil) @response = response end
# File lib/restclient/exceptions.rb, line 18 def http_code @response.code.to_i if @response end
[Validate]
Generated with the Darkfish Rdoc Generator 2.