Sha256: de7c4b7ece7c39b45118872363b4bd5dd9bee5b115f7643d012f8a9d50ef6599

Contents?: true

Size: 584 Bytes

Versions: 2

Compression:

Stored size: 584 Bytes

Contents

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

module Bbrcobranca
  module Boleto
    module Template
      module Base
        extend self

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bbrcobranca-0.0.2 lib/bbrcobranca/boleto/template/base.rb
bbrcobranca-0.0.1 lib/bbrcobranca/boleto/template/base.rb