Sha256: 743656e0471945928059084034361d612c1918381cc211f7713d67436c231c75

Contents?: true

Size: 584 Bytes

Versions: 1

Compression:

Stored size: 584 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 :both
            [Brcobranca::Boleto::Template::Rghost, Brcobranca::Boleto::Template::RghostCarne]
          else
            [Brcobranca::Boleto::Template::Rghost]
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
brcobranca-10.0.0 lib/brcobranca/boleto/template/base.rb