class Lorkhan::Errors::HTTPError

Attributes

response[R]
status[R]

Public Class Methods

new(response) click to toggle source
Calls superclass method
# File lib/lorkhan/errors/http_error.rb, line 6
def initialize(response)
  super("http_error/#{response.status}")
  @response = response
  @status = response.status
end