Exception: Nimbu::Error::BadGateway

Inherits:
ServiceError show all
Defined in:
lib/nimbu-api/errors/bad_gateway.rb

Instance Attribute Summary

Attributes inherited from ServiceError

#http_body, #http_headers, #status

Attributes inherited from NimbuError

#response_headers, #response_message

Instance Method Summary collapse

Methods inherited from ServiceError

#decode_body, errors, http_status_code, #parse_body, #parse_response

Methods included from Utils::Json

#decode

Methods inherited from NimbuError

#backtrace

Methods included from Utils::Descendants

#descendants

Constructor Details

#initialize(response) ⇒ BadGateway

Returns a new instance of BadGateway.



9
10
11
# File 'lib/nimbu-api/errors/bad_gateway.rb', line 9

def initialize(response)
  super(response)
end