portkey-ai
Version:
Node client library for the Portkey API
14 lines • 494 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.ApiResource = void 0;
class ApiResource {
constructor(client) {
this.client = client;
this.post = client._post.bind(client);
this.put = client._put.bind(client);
this.getMethod = client._get.bind(client);
this.deleteMethod = client._delete.bind(client); // delete is a reserved word
}
}
exports.ApiResource = ApiResource;
//# sourceMappingURL=apiResource.js.map
;