serverless/lib/classes/Config.js
2016-05-18 13:42:58 +02:00

21 lines
261 B
JavaScript

'use strict';
const _ = require('lodash');
class Config {
constructor(S, config) {
this._class = 'Config';
this.S = S;
if (config) this.update(config);
}
update(config) {
return _.merge(this, config);
}
}
module.exports = Config;