Methods

Included Modules

RestClient::Response

A Response from RestClient, you can access the response body, the code or the headers.

Attributes

args[RW]
body[RW]
net_http_res[RW]

Public Class Methods

create(body, net_http_res, args) click to toggle source
# File lib/restclient/response.rb, line 15
def Response.create body, net_http_res, args
  result = body || ''
  result.extend Response
  result.net_http_res = net_http_res
  result.args = args
  result
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.