class Devtunnel::ApiError

Attributes

errors[RW]
headers[RW]
status[RW]

Public Class Methods

new(status, headers, body) click to toggle source
# File lib/devtunnel/api_error.rb, line 4
def initialize(status, headers, body)
        self.status = status
        self.headers = headers
        self.errors = body["errors"]
end