1.0.9 • Published 4 years ago

respuesta-package v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Pratech Products Messaging

Instalación

Node.js v8+ para instalar.

Instalar la libreria.

$ npm i respuesta-package

Ejemplo de uso

import { Respuesta, TipoEstado, TypeStatus } from 'respuesta-package';

Se debe inicializar el objeto

let respuesta = new Respuesta();
respuesta.setCustomer_id(customer_id);
respuesta.setSolution_id(solution_id);
respuesta.setDate(new Date());
respuesta.setTipoEstado(TipoEstado.excepcion_negocio);
respuesta.setMensajeEstado(
  'La estructura del excel no cumple con el requisito esperado',
  'The Excel structure does not meet the expected requirement'
);
respuesta.enviarRespuesta(respuesta);
1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.0

4 years ago