"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Class which contains Util generated content class.
*
* @export
* @class Util
*/
var Util = (function () {
function Util() {
}
/**
* This method returns Util class string content
* @return {string} - Util class content as string
*/
Util.prototype.getUtil = function () {
return "class Util {\n generateLocationUri(request, id) {\n return request.protocol + '://' + request.get('host') + request.originalUrl + '/' + id;\n }\n}\n\nmodule.exports = new Util();";
};
return Util;
}());
exports.Util = Util;
exports.default = new Util();
|