Ventana module allows you to get an instance of the Api class.
Members
-
<static> HttpError :HttpError
-
The HttpError class.
Type:
-
<static> HttpRequest :HttpRequest
-
The HttpRequest class.
Type:
Methods
-
<static> createInstance(args)
-
Creates a new instance of a Sugar API class.
Parameters:
Name Type Description args
Object The required arguments to instanciate the Sugar API class.
Returns:
A new instance of Sugar API class.
- Type
- Api
-
<static> getInstance(args)
-
Gets an instance of a Sugar API class.
Parameters:
Name Type Description args
Object The required arguments to instanciate the Sugar API class.
Returns:
An instance of Sugar API class.
- Type
- Api