Skip to content

Instantly share code, notes, and snippets.

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