Class: Ibandit::GermanDetailsConverter::Rule002900
- Defined in:
- lib/ibandit/german_details_converter.rb
Instance Method Summary collapse
Methods inherited from BaseRule
Constructor Details
This class inherits a constructor from Ibandit::GermanDetailsConverter::BaseRule
Instance Method Details
#converted_details ⇒ Object
622 623 624 625 626 627 628 629 630 631 |
# File 'lib/ibandit/german_details_converter.rb', line 622 def converted_details updated_account_number = if @account_number.size == 10 && @account_number[3] == "0" "0#{@account_number.slice(0, 3)}#{@account_number.slice(4, 6)}" else @account_number end { bank_code: @bank_code, account_number: updated_account_number } end |