Created
November 11, 2013 21:14
-
-
Save pedrolopesme/7420474 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 BoletoSantander | |
def initialize(valor, vencimento) | |
@valor = valor | |
@vencimento = vencimento | |
end | |
def gerar_boleto | |
puts("Header do Boleto para o Banco Santander") | |
puts("Valor:" + @valor ) | |
puts("Vencimento:" + @vencimento ) | |
puts("Footer do Boleto : Esse boleto deve ser pago no Banco Santander mais proximo") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment