Class Index | File Index

Classes


Built-In Namespace _global_

Field Summary
Field Attributes Field Name and Description
 
 
fs
 
Method Summary
Method Attributes Method Name and Description
 
_defineService(serviceClass, username, password, siteIds)
Sets up the Service.
 
_defineServiceAsync(serviceClass, username, password, siteIds)
Sets up the Service using Bluebird Promises.
 
mbo_Logger(type)
Used to log requests to the MINDBODY server.
Field Detail
EventEmitter

Defined in: mbo_Service.js.
Author: Brian Carlsen.

fs

Defined in: mbo_Logger.js.
Author: Brian Carlsen.

Promise

Defined in: mbo_SiteService.js.
Author: Brian Carlsen.
Method Detail
{mbo_Service} _defineService(serviceClass, username, password, siteIds)
Sets up the Service.
Defined in: mbo_ServiceFactory.js.
Parameters:
{mbo_Service} serviceClass
The service to be initialized.
{string} username
The Username of the MINDBODY client to be used with all requests.
{string} password
The Password of the MINDBODY client to be used with all requests.
{number|Array} siteIds
The Site ID, or an Array of Site IDs to be used with all requests.
Returns:
{mbo_Service} Returns an instantiated instance of the passed in Service class.

{Promise} _defineServiceAsync(serviceClass, username, password, siteIds)
Sets up the Service using Bluebird Promises.
Defined in: mbo_ServiceFactory.js.
Parameters:
{mbo_Service} serviceClass
The service to be initialized.
{string} username
The Username of the MINDBODY client to be used with all requests.
{string} password
The Password of the MINDBODY client to be used with all requests.
{number|Array} siteIds
The Site ID, or an Array of Site IDs to be used with all requests.
Returns:
{Promise} Returns an A+ Promise passed an instantiated instance of the passed in Service class.

mbo_Logger(type)
Used to log requests to the MINDBODY server.
Defined in: mbo_Logger.js.
Parameters:
{string} type
The type of logger to be used. Either 'local' to log to a local file, or 'remote' to log to a remote server.
Throws:
{Error}
Throws error if an invalid type parameter is passed.

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Jul 22 2018 23:41:33 GMT+0200 (CEST)