class RestClient::ExceptionWithResponse

Base RestClient exception when there’s a response available

def http_code

def http_code
	@response.code.to_i if @response
end

def initialize(response=nil)

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