module Ibandit
German bank details don’t map directly to IBANs in the same way as in other countries - each bank has idiosyncracies for translating its cusomers’ bank details. These idiosyncracies are described in a document from the Bundesbank: www.bundesbank.de/Redaktion/EN/Standardartikel/Tasks/Payment_systems/iban_rules.html?nn=26102
Constants
- VERSION
Attributes
Public Class Methods
Source
# File lib/ibandit.rb, line 26 def find_bic(country_code, national_id) raise NotImplementedError, "BIC finder is not defined" unless @bic_finder @bic_finder.call(country_code, national_id) end
Source
# File lib/ibandit.rb, line 32 def structures @structures ||= YAML.safe_load_file(File.expand_path("../data/structures.yml", __dir__), permitted_classes: [Range, Symbol]) end
Source
# File lib/ibandit.rb, line 37 def translate(key, options = {}) I18n.translate(key, scope: [:ibandit], **options.merge(raise: true)) end