UNPKG

seerbit-nodejs

Version:
15 lines 511 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class Resource { constructor(service, endpoint) { this.service = service; this.endpoint = endpoint; } request(json, requestOptions) { const clientInterface = this.service.client.httpClient; const config = this.service.client.config; return clientInterface.request(this.endpoint, json, config, requestOptions); } } exports.default = Resource; //# sourceMappingURL=resource.js.map