Sha256: f09ba22cb85ae95c560f075814fd1a4d2c69bfa8636f7320f750eb9a8bb68ce4

Contents?: true

Size: 749 Bytes

Versions: 4

Compression:

Stored size: 749 Bytes

Contents

# frozen_string_literal: true

module Brcobranca
  module Boleto
    module Template
      module Base
        module_function

        def define_template(template)
          case template
          when :rghost
            [Brcobranca::Boleto::Template::Rghost]
          when :rghost_carne
            [Brcobranca::Boleto::Template::RghostCarne]
          when :rghost_bolepix
            [Brcobranca::Boleto::Template::RghostBolepix]
          when :rghost2
            [Brcobranca::Boleto::Template::Rghost2]
          when :both
            [Brcobranca::Boleto::Template::Rghost, Brcobranca::Boleto::Template::RghostCarne]
          else
            [Brcobranca::Boleto::Template::Rghost]
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
brcobranca_sicredi_400-1.0 lib/brcobranca/boleto/template/base.rb
brcobranca-11.1.0 lib/brcobranca/boleto/template/base.rb
brcobranca-11.0.0 lib/brcobranca/boleto/template/base.rb
brcobranca-10.1.0 lib/brcobranca/boleto/template/base.rb