Class Index | File Index

Classes


Class MockApi

MatrixGenerator See API Details (https://github.com/pulkit110/jMatrixBrowse/wiki/API-Details) for more details.
Defined in: MockApi.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
MockApi(height, width)
Mimics the API and gives response for requests.
Method Summary
Method Attributes Method Name and Description
 
getResponse(request)
Get a response for given request.
Class Detail
MockApi(height, width)
Mimics the API and gives response for requests.
Parameters:
{Number} height Optional
- height of the matrix to answer requests for. optional. default = 100.
{Number} width Optional
- width of the matrix to answer requests for. optional. default = 100.
Method Detail
{Object} getResponse(request)
Get a response for given request.
Parameters:
{Object} request
- the request.
Returns:
{Object} response - the response to the request.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Aug 09 2012 00:23:53 GMT+0200 (CEST)