@dxdeveloperexperience/hygie
Version:
Hygie is an easy-to-use Open-Source REST API allowing you to interact with GIT events. This NestJS API expose a set of customizable rules to automate your project's life cycle.
16 lines (12 loc) • 361 B
text/typescript
import { KeyValueEnvFileInterface } from './envFile.interface';
import { Injectable } from '@nestjs/common';
export class EnvVarAccessor {
variables: KeyValueEnvFileInterface;
setAllEnvVar(keyValue: KeyValueEnvFileInterface) {
this.variables = keyValue;
}
getAllEnvVar(): KeyValueEnvFileInterface {
return this.variables;
}
}