class EOAT::Exception::HTTPError
It is used when the HTTP response code different from 200, 404 or 0.
Attributes
headers[R]
status[R]
Public Class Methods
new(status, headers)
click to toggle source
@param [Integer] status the HTTP status code @param [Hash] headers the Hash of response headers
# File lib/eoat/exception.rb, line 16 def initialize(status, headers) @status = status @headers = headers end