Sha256: be25e5eb8bff3ad06381b8d7fd5d022478d3d301d511f657089866c8476f0a66

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.downcase
        when 'swedbank'
          Ipizza::Provider::Swedbank.new
        when 'hp'
          Ipizza::Provider::Swedbank.new
        when 'eyp'
          Ipizza::Provider::Seb.new
        when 'seb'
          Ipizza::Provider::Seb.new
        when 'sampo'
          Ipizza::Provider::Sampo.new
        when 'sampopank'
          Ipizza::Provider::Sampo.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-0.6.1 lib/ipizza/provider.rb