This is an abstract class; it must be extended by another class that defines the specific request. This class is responsible for executing operation requests to the OpenGate North API.

constructor

Constructor

Parámetros

Nombre Tipo Opcional Descripción
ogapi InternalOpenGateAPI this is ogapi instance
resource string this is a base url resource
postObj object it will be sent as a data on post action

execute()

This invokes a request to the OpenGate North API and the callback is managed by promises.

Retorna

Tip

Tipo: Promise