Sha256: dee8261f22610f241b9cc673dab0db1ef756f6c3142c1e95c0e17a47f63fc98f
Contents?: true
Size: 999 Bytes
Versions: 8
Compression:
Stored size: 999 Bytes
Contents
# frozen_string_literal: true module Ibandit module Constants CONSTRUCTABLE_IBAN_COUNTRY_CODES = %w[AT BE BG CY CZ DE DK EE ES FI FO FR GB GL GR HR HU IE IS IT LT LU LV MC MT NL NO PL PT RO SE SI SK SM].freeze PSEUDO_IBAN_COUNTRY_CODES = %w[AU SE NZ CA US].freeze DECONSTRUCTABLE_IBAN_COUNTRY_CODES = CONSTRUCTABLE_IBAN_COUNTRY_CODES - PSEUDO_IBAN_COUNTRY_CODES PSEUDO_IBAN_CHECK_DIGITS = "ZZ" PSEUDO_IBAN_PADDING_CHARACTER_FOR = { "SE" => "X", # Using X for backwards compatibility "AU" => "_", # Using _ because AU account numbers are alphanumeric "NZ" => "_", "CA" => "_", "US" => "_", }.freeze SUPPORTED_COUNTRY_CODES = ( CONSTRUCTABLE_IBAN_COUNTRY_CODES + DECONSTRUCTABLE_IBAN_COUNTRY_CODES + PSEUDO_IBAN_COUNTRY_CODES ).uniq SUPPORTED_LOCALES = %w[ da de en es fr it nb nl pt sl sv ].freeze end end
Version data entries
8 entries across 8 versions & 1 rubygems