serverless/lib/classes/Config.js
2016-05-20 13:33:54 +02:00

20 lines
233 B
JavaScript

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