hapiest-server
Version:
A wrapper around Hapi.js with a configuration-first approach
20 lines (14 loc) • 351 B
JavaScript
;
const VO = require('hapiest-vo');
class VisionPluginConfig extends VO {
/**
* @param {object} config
* @param {boolean} config.enabled
*/
constructor(config) {
super();
this._addProperties(config);
}
get enabled() { return this.get('enabled'); }
}
module.exports = VisionPluginConfig;