GladysProject/Gladys

View on GitHub
server/services/enedis/lib/index.js

Summary

Maintainability
A
0 mins
Test Coverage
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;