Create a new API client from the given account.
(account: Account)
| 840 | |
| 841 | /** Create a new API client from the given account. */ |
| 842 | public static fromAccount(account: Account): API { |
| 843 | return new API(account.endpoint, account.token, account.copilotEndpoint) |
| 844 | } |
| 845 | |
| 846 | private endpoint: string |
| 847 | private token: string |
no outgoing calls
no test coverage detected