Module: Segurofacil::REST::EstagiarioRemove

Included in:
Estagiario
Defined in:
lib/segurofacil/rest/estagiario_remove.rb

Constant Summary collapse

PATH =
'removeestagiario'

Instance Method Summary collapse

Instance Method Details

#remove(estagiario_cpf, cnpj) ⇒ Object



7
8
9
10
11
12
13
14
15
# File 'lib/segurofacil/rest/estagiario_remove.rb', line 7

def remove(estagiario_cpf, cnpj)
  Segurofacil::REST::Request.post(
    PATH,
    params: {
      cpf: estagiario_cpf,
      cnpj: cnpj
    }
  ).perform
end