class CompaniesHouse::BadGatewayError

Raised when a request returned a 502

Public Class Methods

new(response = nil) click to toggle source
Calls superclass method CompaniesHouse::APIError::new
# File lib/companies_house/bad_gateway_error.rb, line 6
def initialize(response = nil)
  super("Bad gateway error", response)
end