Sha256: 08dca5b53285ba83ed3902d6ef52d82f52ef130ef8972a162fb59fc59adf3c55

Contents?: true

Size: 636 Bytes

Versions: 3

Compression:

Stored size: 636 Bytes

Contents

module Ibandit
  module Constants
    CONSTRUCTABLE_IBAN_COUNTRY_CODES = %w[AT BE BG CY CZ DE DK EE ES FI FR GB 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].freeze
    DECONSTRUCTABLE_IBAN_COUNTRY_CODES =
      CONSTRUCTABLE_IBAN_COUNTRY_CODES - PSEUDO_IBAN_COUNTRY_CODES

    PSEUDO_IBAN_CHECK_DIGITS = "ZZ".freeze

    SUPPORTED_COUNTRY_CODES = (
      CONSTRUCTABLE_IBAN_COUNTRY_CODES +
      DECONSTRUCTABLE_IBAN_COUNTRY_CODES +
      PSEUDO_IBAN_COUNTRY_CODES
    ).uniq
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ibandit-0.11.10 lib/ibandit/constants.rb
ibandit-0.11.9 lib/ibandit/constants.rb
ibandit-0.11.7 lib/ibandit/constants.rb