# File lib/restclient/exceptions.rb, line 63 def initialize response = nil @response = response # compatibility: this make the exception behave like a Net::HTTPResponse response.extend ResponseForException end