lib/barterer.js
function Barterer(options) {
  var self = this;
  options = options || {};

  self.routes = {
    "/whereis": require('./routes/whereis'),
    "/whatat": require('./routes/whatat'),
    "/whatnear": require('./routes/whatnear'),
    "/": express.static(path.resolve(__dirname + '/../web'))
  };

  console.log('reelyActive Barterer instance is exchanging data in an open IoT');
}
function Barterer(options) {
  var self = this;
  options = options || {};

  self.routes = {
    "/whereis": require('./routes/whereis'),
    "/whatat": require('./routes/whatat'),
    "/whatnear": require('./routes/whatnear'),
    "/": express.static(path.resolve(__dirname + '/../web'))
  };

  console.log('reelyActive Barterer instance is exchanging data in an open IoT');
}
function Barterer ( options ) { var self = this ; options = options || { } ; self . routes = { "/whereis" : require ( './routes/whereis' ) , "/whatat" : require ( './routes/whatat' ) , "/whatnear" : require ( './routes/whatnear' ) , "/" : express . static ( path . resolve ( __dirname + '/../web' ) ) } ; console . log ( 'reelyActive Barterer instance is exchanging data in an open IoT' ) ; }
Barterer Class
API for real-time location and hyperlocal context.
@param {Object} options The options as a JSON object.
@constructor
Barterer Class API for real - time location and hyperlocal context .