class WADL::HTTPResponse
Attributes
body[R]
content_type[R]
headers[R]
read[R]
status[R]
Public Class Methods
new(res)
click to toggle source
# File lib/wadl/http_response.rb, line 33 def initialize(res) @status, @content_type, @body, @headers = [res.code, res.message], res.content_type, res.body, res.to_hash end