lib/transport/pubnub/PubNubTransport.js
function PubNubTransport(config) {
  this.id = config.id || null;
  this.networkId = config.publish_key || null;
  this['default'] = config['default'] || false;
  this.pubnub = PUBNUB().init(config);
}
function PubNubTransport(config) {
  this.id = config.id || null;
  this.networkId = config.publish_key || null;
  this['default'] = config['default'] || false;
  this.pubnub = PUBNUB().init(config);
}
function PubNubTransport ( config ) { this . id = config . id || null ; this . networkId = config . publish_key || null ; this [ 'default' ] = config [ 'default' ] || false ; this . pubnub = PUBNUB ( ) . init ( config ) ; }
Use pubnub as transport
@param {Object} config         Config can contain the following properties:
- `id: string`. Optional
- `publish_key: string`. Required
- `subscribe_key: string`. Required
@constructor
Use pubnub as transport