Moved eveything related to the api to a seperate folder seasoned_api.
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
class EnvironmentVariables {
|
||||
|
||||
constructor(variables) {
|
||||
this.variables = variables || process.env;
|
||||
}
|
||||
|
||||
get(variable) {
|
||||
return this.variables[variable];
|
||||
}
|
||||
|
||||
has(variable) {
|
||||
return this.get(variable) !== undefined;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = EnvironmentVariables;
|
||||
Reference in New Issue
Block a user