class Rasti::Web::ApiDoc::Response

Attributes

headers[R]
status[R]

Public Class Methods

new(status, headers, body_proxy) click to toggle source
# File lib/rasti/web/api_doc/response.rb, line 8
def initialize(status, headers, body_proxy)
  @status = status
  @headers = headers
  @body_proxy = body_proxy
end

Public Instance Methods

body() click to toggle source
# File lib/rasti/web/api_doc/response.rb, line 14
def body
  @body_proxy.body
end