This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BoletoItau | |
def initialize(valor, vencimento) | |
@valor = valor | |
@vencimento = vencimento | |
end | |
def gerar_boleto | |
puts("Header do Boleto para o Banco Itau") | |
puts("Valor:" + @valor ) | |
puts("Vencimento:" + @vencimento ) | |
puts("Footer do Boleto : Esse boleto deve ser pago no Banco Itau mais proximo") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment