1 2 3 4 5 6 7 8 9
export default class AppApi { constructor(server) { this.server = server; } health() { return this.server.healthCheck(); } }