Class: Exception12

Inherits:
BaseException show all
Defined in:
lib/uk_account_validator/exceptions/exception_12.rb

Overview

These are for Nationwide Flex accounts. Where there is a 12 in the exception column for the first check for a sorting code and a 13 in the exception column for the second check for the same sorting code, if either check is successful the account number is deemed valid.

Constant Summary

Constants included from NumberIndices

NumberIndices::NUMBER_INDEX

Instance Attribute Summary

Attributes inherited from BaseException

#account_number, #check_number, #modulus_weight, #sort_code

Class Method Summary collapse

Methods inherited from BaseException

#after_calculate_total, #apply_account_number_substitutions, #apply_sort_code_substitutions, #initialize, #override_test?, #replace_weight, #zero_all, #zero_u_b

Constructor Details

This class inherits a constructor from BaseException

Class Method Details

.allow_any?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/uk_account_validator/exceptions/exception_12.rb', line 6

def self.allow_any?
  true
end