Skip to content

Instantly share code, notes, and snippets.

@Kamilahsantos
Created May 26, 2019 21:57
Show Gist options
  • Save Kamilahsantos/0259e1701dc4b6e0b99ed0d4dab9eeda to your computer and use it in GitHub Desktop.
Save Kamilahsantos/0259e1701dc4b6e0b99ed0d4dab9eeda to your computer and use it in GitHub Desktop.
def inativar_clientes
clientes =clientes_para_inativar
clientes.each(&:deactivate)
AvisarClientePorWpp.inativados(clientes)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment