Sha256: 44198b4f499ff2d65f1a8d2bc81ed2d873d255c808a65d0c50382eb9784e2240

Contents?: true

Size: 390 Bytes

Versions: 2

Compression:

Stored size: 390 Bytes

Contents

require 'ibandit/version'
require 'ibandit/errors'
require 'ibandit/iban'
require 'ibandit/iban_builder'
require 'ibandit/check_digit'

module Ibandit
  class << self
    attr_accessor :bic_finder

    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
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ibandit-0.1.1 lib/ibandit.rb
ibandit-0.1.0 lib/ibandit.rb