seerbit-nodejs
Version:
SeerBit NodsJS SDK
15 lines • 511 B
JavaScript
;
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