Module: Segurofacil::REST::EstagiarioCreate
- Included in:
- Estagiario
- Defined in:
- lib/segurofacil/rest/estagiario_create.rb
Constant Summary collapse
- PATH =
'addestagiario'
Instance Method Summary collapse
Instance Method Details
#create(estagiario, cnpj) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/segurofacil/rest/estagiario_create.rb', line 7 def create(estagiario, cnpj) Segurofacil::REST::Request.post( PATH, params: { estagiario: estagiario, cnpj: cnpj } ).perform end |