server/services/enedis/lib/index.js
const { init } = require('./enedis.init');
const { sync } = require('./enedis.sync');
const EnedisHandler = function EnedisHandler(gladys, serviceId) {
this.gladys = gladys;
this.serviceId = serviceId;
this.syncDelayBetweenCallsInMs = 500;
};
EnedisHandler.prototype.init = init;
EnedisHandler.prototype.sync = sync;
module.exports = EnedisHandler;