class CompaniesHouse::AuthenticationError

Specific error class for when an invalid API key is used to access the service

Public Class Methods

new(response = nil) click to toggle source
Calls superclass method CompaniesHouse::APIError::new
# File lib/companies_house/authentication_error.rb, line 6
def initialize(response = nil)
  super("Invalid API key", response)
end