dist/tgi-interface-bootstrap.js
function (args) {
  if (false === (this instanceof Session)) throw new Error('new operator required');
  args = args || {};
  if (!args.attributes) {
    args.attributes = [];
  }
  var userModelID = new Attribute.ModelID(new User());
  args.attributes.push(new Attribute({name: 'userID', type: 'Model', value: userModelID}));
  args.attributes.push(new Attribute({name: 'dateStarted', type: 'Date', value: new Date()}));
  args.attributes.push(new Attribute({name: 'passCode', type: 'String(20)'}));
  args.attributes.push(new Attribute({name: 'active', type: 'Boolean'}));
  args.attributes.push(new Attribute({name: 'ipAddress', type: 'String'}));

  Model.call(this, args);
  this.modelType = "Session";
  this.set('active', false);
}
function (args) {
  if (false === (this instanceof Session)) throw new Error('new operator required');
  args = args || {};
  if (!args.attributes) {
    args.attributes = [];
  }
  var userModelID = new Attribute.ModelID(new User());
  args.attributes.push(new Attribute({name: 'userID', type: 'Model', value: userModelID}));
  args.attributes.push(new Attribute({name: 'dateStarted', type: 'Date', value: new Date()}));
  args.attributes.push(new Attribute({name: 'passCode', type: 'String(20)'}));
  args.attributes.push(new Attribute({name: 'active', type: 'Boolean'}));
  args.attributes.push(new Attribute({name: 'ipAddress', type: 'String'}));

  Model.call(this, args);
  this.modelType = "Session";
  this.set('active', false);
}
function ( args ) { if ( false === ( this instanceof Session ) ) throw new Error ( 'new operator required' ) ; args = args || { } ; if ( ! args . attributes ) { args . attributes = [ ] ; } var userModelID = new Attribute . ModelID ( new User ( ) ) ; args . attributes . push ( new Attribute ( { name : 'userID' , type : 'Model' , value : userModelID } ) ) ; args . attributes . push ( new Attribute ( { name : 'dateStarted' , type : 'Date' , value : new Date ( ) } ) ) ; args . attributes . push ( new Attribute ( { name : 'passCode' , type : 'String(20)' } ) ) ; args . attributes . push ( new Attribute ( { name : 'active' , type : 'Boolean' } ) ) ; args . attributes . push ( new Attribute ( { name : 'ipAddress' , type : 'String' } ) ) ; Model . call ( this , args ) ; this . modelType = "Session" ; this . set ( 'active' , false ) ; }
tequila
session-model
 Model Constructor
tequila session - model Model Constructor