class Kraftwerk::Response
Attributes
body[R]
body_raw[R]
code[R]
headers[R]
Public Class Methods
new(code: nil, body: nil, headers: {}, body_raw: false)
click to toggle source
TODO: support cookies nicely
# File lib/kraftwerk/response.rb, line 6 def initialize(code: nil, body: nil, headers: {}, body_raw: false) @code = code @body = body @headers = headers @body_raw = body_raw end