Class: Exception8

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

Overview

Perform the check as specified, except substitute the sorting code with 090126, for check purposes only

Constant Summary

Constants included from NumberIndices

NumberIndices::NUMBER_INDEX

Instance Attribute Summary

Attributes inherited from BaseException

#account_number, #check_number, #modulus_weight, #sort_code

Instance Method Summary collapse

Methods inherited from BaseException

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

Constructor Details

This class inherits a constructor from BaseException

Instance Method Details

#apply_sort_code_substitutionsObject



4
5
6
# File 'lib/uk_account_validator/exceptions/exception_8.rb', line 4

def apply_sort_code_substitutions
  return '090126'
end