onesky-api-wrapper
Version:
A fully typed wrapper for the OneSky API.
11 lines (10 loc) • 350 B
JavaScript
import { HttpHelper } from '../../http/index.js';
export class QuotationeApi {
constructor(config) {
this._http = new HttpHelper(config);
}
show(options) {
const url = `projects/${options.projectId}/quotations`;
return this._http.get(url, new URLSearchParams(Object.assign({}, options.params)));
}
}