(
authToken: string | undefined | null = " ",
config: AxiosRequestConfig = {}
)
| 17 | |
| 18 | // constructor for the API client |
| 19 | constructor( |
| 20 | authToken: string | undefined | null = " ", |
| 21 | config: AxiosRequestConfig = {} |
| 22 | ) { |
| 23 | this.client = this._setupClient(config); |
| 24 | |
| 25 | if (authToken) { |
| 26 | this.setBearerToken(authToken); |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | // Example API methods. Replace with your own API methods. |
| 31 |
nothing calls this directly
no test coverage detected