Classes

Class AdminAPI


Extends Chainback.

Defined in: admin.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
The AdminAPI is exposed via GCN.Admin.
Method Summary
Method Attributes Method Name and Description
<static>  
AdminAPI.constructs(success, error)
Retrieves a list of all constructs and constructs categories and passes it as the only argument into the `success()' callback.

Class Detail

AdminAPI()

The AdminAPI is exposed via GCN.Admin. The AdminAPI is not meant to be instatiated by the implementer. Stick to using GCN.Admin.

Method Detail

AdminAPI.constructs(success, error)

Retrieves a list of all constructs and constructs categories and passes it as the only argument into the `success()' callback.
Parameters:
{function(Array.)=} success
Callback to receive an array of constructs.
{function(GCNError):boolean=} error
Custom error handler.
Throws:
INVALID_ARGUMENTS
Returns:
undefined

Documentation generated by JsDoc Toolkit 2.3.2 on Wed Nov 06 2024 15:03:20 GMT-0000 (UTC)