Method: RestClient::Response#initialize

Defined in:
lib/restclient/response.rb

#initialize(string, net_http_res) ⇒ Response

Returns a new instance of Response.



14
15
16
17
# File 'lib/restclient/response.rb', line 14

def initialize(string, net_http_res)
  @net_http_res = net_http_res
  super(string || "")
end