Sha256: 08eb2e801e4a2dcc4c34275694731826b59965bf84f9294a786b7e0e327f5d48

Contents?: true

Size: 686 Bytes

Versions: 5

Compression:

Stored size: 686 Bytes

Contents

# frozen_string_literal: true

require 'set'

require_relative 'issuer_response_codes/version'
require_relative 'issuer_response_codes/locale_library'
require_relative 'issuer_response_codes/context'
require_relative 'issuer_response_codes/code'
require_relative 'issuer_response_codes/tds_code'

module IssuerResponseCodes
  class IllegalTarget < StandardError; end
  class IllegalLocale < StandardError; end

  # @return [Set<Symbol>]
  AVAILABLE_TARGETS = ::Set.new(%i[merchant cardholder]).freeze
  # @return [Set<Symbol>]
  AVAILABLE_LOCALES = ::Set.new(%i[en pl da de ee it lt lv sv es fi fr hr nl pt]).freeze

  # @return [LocaleLibrary]
  LOCALE_LIBRARY = LocaleLibrary.new
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
issuer_response_codes-0.3.4 lib/issuer_response_codes.rb
issuer_response_codes-0.3.3 lib/issuer_response_codes.rb
issuer_response_codes-0.3.2 lib/issuer_response_codes.rb
issuer_response_codes-0.3.1 lib/issuer_response_codes.rb
issuer_response_codes-0.3.0 lib/issuer_response_codes.rb