Sha256: 3c2dffe8be23d8202aa8863fcdc8d26cff121eb49c17b1358d77c43d8c560a0b

Contents?: true

Size: 573 Bytes

Versions: 1

Compression:

Stored size: 573 Bytes

Contents

module Ipizza
  module Provider

    class << self
      def get(provider_name)
        case provider_name.to_s.downcase
        when 'lhv'
          Ipizza::Provider::Lhv.new
        when 'swedbank', 'hp'
          Ipizza::Provider::Swedbank.new
        when 'eyp', 'seb'
          Ipizza::Provider::Seb.new
        when 'sampo', 'sampopank', 'danske'
          Ipizza::Provider::Sampo.new
        when 'krep', 'krediidipank'
          Ipizza::Provider::Krediidipank.new
        when 'nordea'
          Ipizza::Provider::Nordea.new
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ipizza-2.0.1 lib/ipizza/provider.rb