coloquent-test2
Version:
Library for retrieving model objects from a JSON-API, with a fluent syntax inspired by Laravel Eloquent.
16 lines • 626 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var AxiosHttpClientResponse = /** @class */ (function () {
function AxiosHttpClientResponse(axiosResponse) {
this.axiosResponse = axiosResponse;
}
AxiosHttpClientResponse.prototype.getData = function () {
return this.axiosResponse.data;
};
AxiosHttpClientResponse.prototype.getUnderlying = function () {
return this.axiosResponse;
};
return AxiosHttpClientResponse;
}());
exports.AxiosHttpClientResponse = AxiosHttpClientResponse;
//# sourceMappingURL=AxiosHttpClientResponse.js.map