Sha256: 9109e51e995951b8a9d22fc5fbcd52f7353fe3e37b020cdba4b8221b41fc8ff2

Contents?: true

Size: 604 Bytes

Versions: 17

Compression:

Stored size: 604 Bytes

Contents

# -*- encoding: utf-8 -*-

module Brcobranca
  module Boleto
    module Template
      module Base
        extend self

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
brcobranca-6.9.1 lib/brcobranca/boleto/template/base.rb
brcobranca-6.9.0 lib/brcobranca/boleto/template/base.rb
brcobranca-6.8.0 lib/brcobranca/boleto/template/base.rb
brcobranca-6.7.0 lib/brcobranca/boleto/template/base.rb
brcobranca-6.6.0 lib/brcobranca/boleto/template/base.rb
brcobranca-6.5.0 lib/brcobranca/boleto/template/base.rb
brcobranca-6.4.1 lib/brcobranca/boleto/template/base.rb
brcobranca-6.4.0 lib/brcobranca/boleto/template/base.rb
brcobranca-6.3.0 lib/brcobranca/boleto/template/base.rb
brcobranca-6.2.2 lib/brcobranca/boleto/template/base.rb
brcobranca-6.2.1 lib/brcobranca/boleto/template/base.rb
brcobranca-6.2.0 lib/brcobranca/boleto/template/base.rb
brcobranca-6.1.12 lib/brcobranca/boleto/template/base.rb
brcobranca-6.1.11 lib/brcobranca/boleto/template/base.rb
brcobranca-6.1.10 lib/brcobranca/boleto/template/base.rb
brcobranca-6.1.9 lib/brcobranca/boleto/template/base.rb
brcobranca-6.1.8 lib/brcobranca/boleto/template/base.rb