class Esplanade::Response::Raw
Public Class Methods
new(request, raw_status, raw_body)
click to toggle source
# File lib/esplanade/response/raw.rb, line 6 def initialize(request, raw_status, raw_body) @request = request @raw_status = raw_status @raw_body = raw_body end
Public Instance Methods
body()
click to toggle source
# File lib/esplanade/response/raw.rb, line 16 def body @body ||= Body.new(@request, self, @raw_body) end
status()
click to toggle source
# File lib/esplanade/response/raw.rb, line 12 def status @status ||= @raw_status.to_s end