Class: Exception8
- Inherits:
-
BaseException
- Object
- BaseException
- Exception8
- 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
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_substitutions ⇒ Object
4 5 6 |
# File 'lib/uk_account_validator/exceptions/exception_8.rb', line 4 def apply_sort_code_substitutions return '090126' end |