Skip to content

Instantly share code, notes, and snippets.

@edermfl
Created November 12, 2019 13:21
Show Gist options
  • Save edermfl/c92589f5c9eb816b8693ab2c857b8366 to your computer and use it in GitHub Desktop.
Save edermfl/c92589f5c9eb816b8693ab2c857b8366 to your computer and use it in GitHub Desktop.
...
Amigo dev = vc.getAmigo("desenvolvedor")
se (dev != null && vc.querInidicar()){
Email email = new Email("rh@synchro.com.br");
email.setAssunto("Indicação");
email.setMensagem("Indicação de " + dev.getNome());
email.setAnexo(dev.getCurriculo());
email.enviar();
}
...
static int PERIODO_EXPERIENCIA = 90;
se (indicado.isAprovado() && indicador.isAdmitido(PERIODO_EXPERIENCIA)){
vc.ganharReconhecimento("Mochila da Synchro");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment