1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | class ResponseService {
|
4 | constructor(config) {
|
5 | this.config = config;
|
6 | }
|
7 | informational() {
|
8 | return this.config.responses.informational;
|
9 | }
|
10 | redirection() {
|
11 | return this.config.responses.redirection;
|
12 | }
|
13 | serverError() {
|
14 | return this.config.responses.serverError;
|
15 | }
|
16 | clientError() {
|
17 | return this.config.responses.clientError;
|
18 | }
|
19 | successful() {
|
20 | return this.config.responses.successful;
|
21 | }
|
22 | }
|
23 | exports.ResponseService = ResponseService;
|
24 |
|
\ | No newline at end of file |