Class: BankingDataValidator::Bank::Santander

Inherits:
Base
  • Object
show all
Defined in:
lib/banking_data_validator/bank/santander.rb

Instance Method Summary collapse

Methods inherited from Base

valid_account?, #valid_account?

Constructor Details

#initialize(branch, account_number, account_digit) ⇒ Santander

Returns a new instance of Santander.



6
7
8
9
10
# File 'lib/banking_data_validator/bank/santander.rb', line 6

def initialize(branch, , )
  @branch         = padding_with_zeros(branch, 4)
  @account_number = padding_with_zeros(, 8)
  @account_digit  = padding_with_zeros()
end