class ApiBlueprint::ResponseError

Attributes

body[R]
headers[R]
status[R]

Public Class Methods

new(env) click to toggle source
# File lib/api-blueprint.rb, line 32
def initialize(env)
  @status = env.status
  @headers = env.response_headers.symbolize_keys
  @body = env.body
end