Class: Ibandit::GermanDetailsConverter::Rule000900
- 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
391 392 393 394 395 396 397 398 399 400 |
# File 'lib/ibandit/german_details_converter.rb', line 391 def converted_details updated_account_number = if @account_number.rjust(10, "0").slice(0, 4) == "1116" "3047#{@account_number.rjust(10, '0').slice(4, 6)}" else @account_number end { bank_code: "68351557", account_number: updated_account_number } end |