mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
29 lines
589 B
JavaScript
29 lines
589 B
JavaScript
'use strict';
|
|
|
|
const SError = require('./Error'),
|
|
SUtils = require('./utils/index'),
|
|
SerializerFileSystem = require('./SerializerFileSystem'),
|
|
fs = require('fs'),
|
|
_ = require('lodash'),
|
|
BbPromise = require('bluebird');
|
|
|
|
class Variables extends SerializerFileSystem {
|
|
|
|
constructor(S) {
|
|
super();
|
|
this._S = S;
|
|
this._class = 'Variables';
|
|
}
|
|
|
|
load() {
|
|
return this.deserializeVariables(this);
|
|
}
|
|
|
|
save() {
|
|
return this.serializeVariables(this);
|
|
}
|
|
|
|
}
|
|
|
|
module.exports = Variables;
|