Sha256: 3d5b390ed55a85f74993577367e6a23f0b5b2d15f87d68289016e82adaa469e1

Contents?: true

Size: 578 Bytes

Versions: 16

Compression:

Stored size: 578 Bytes

Contents

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

module Brcobranca
  module Boleto
    module Template
      module Base
        extend self

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
brcobranca-9.2.4 lib/brcobranca/boleto/template/base.rb
brcobranca-9.2.3 lib/brcobranca/boleto/template/base.rb
brcobranca-9.2.2 lib/brcobranca/boleto/template/base.rb
brcobranca-9.2.1 lib/brcobranca/boleto/template/base.rb
brcobranca-9.2.0 lib/brcobranca/boleto/template/base.rb
brcobranca-9.1.2 lib/brcobranca/boleto/template/base.rb
brcobranca-9.1.1 lib/brcobranca/boleto/template/base.rb
brcobranca-9.1.0 lib/brcobranca/boleto/template/base.rb
brcobranca-9.0.0 lib/brcobranca/boleto/template/base.rb
brcobranca-8.0.0 lib/brcobranca/boleto/template/base.rb
brcobranca-7.3.0 lib/brcobranca/boleto/template/base.rb
brcobranca-7.2.2 lib/brcobranca/boleto/template/base.rb
brcobranca-7.2.1 lib/brcobranca/boleto/template/base.rb
brcobranca-7.2.0 lib/brcobranca/boleto/template/base.rb
brcobranca-7.1.0 lib/brcobranca/boleto/template/base.rb
brcobranca-7.0.0 lib/brcobranca/boleto/template/base.rb