MCPcopy Create free account
hub / github.com/sshwsfc/xadmin / constructor

Method constructor

packages/xadmin/src/api.js:4–7  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

2export default class RESTBaseAPI {
3
4 constructor(options) {
5 this.options = options
6 this.resource = options.resource || options.name
7 }
8
9 getHost() {
10 return '/'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected