dist/rollbar.named-amd.js
function Api(options, t, u, j) {
	  this.options = options;
	  this.transport = t;
	  this.url = u;
	  this.jsonBackup = j;
	  this.accessToken = options.accessToken;
	  this.transportOptions = _getTransport(options, u);
	}
function Api(options, t, u, j) {
	  this.options = options;
	  this.transport = t;
	  this.url = u;
	  this.jsonBackup = j;
	  this.accessToken = options.accessToken;
	  this.transportOptions = _getTransport(options, u);
	}
function Api ( options , t , u , j ) { this . options = options ; this . transport = t ; this . url = u ; this . jsonBackup = j ; this . accessToken = options . accessToken ; this . transportOptions = _getTransport ( options , u ) ; }
Api is an object that encapsulates methods of communicating with
the Rollbar API.  It is a standard interface with some parts implemented
differently for server or browser contexts.  It is an object that should
be instantiated when used so it can contain non-global options that may
be different for another instance of RollbarApi.

@param options {
accessToken: the accessToken to use for posting items to rollbar
endpoint: an alternative endpoint to send errors to
must be a valid, fully qualified URL.
The default is: https://api.rollbar.com/api/1/item
proxy: if you wish to proxy requests provide an object
with the following keys:
host or hostname (required): foo.example.com
port (optional): 123
protocol (optional): https
}
Api is an object that encapsulates methods of communicating with the Rollbar API . It is a standard interface with some parts implemented differently for server or browser contexts . It is an object that should be instantiated when used so it can contain non - global options that may be different for another instance of RollbarApi .