docs: update doccomment for get_from_endpoint
This commit is contained in:
parent
5cb87b1adf
commit
6eef285c45
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,8 @@ impl CanvasClient {
|
||||||
Ok(CanvasClient { client, api_url })
|
Ok(CanvasClient { client, api_url })
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Call an API endpoint. Expects the relative path of the endpoint after the base API URL.
|
/// Call an API endpoint on the provided Canvas API with the authorization token. Expects the
|
||||||
|
/// relative path of the endpoint after the base API URL.
|
||||||
/// Returns the response as plaintext in a String regardless of its serialization format.
|
/// Returns the response as plaintext in a String regardless of its serialization format.
|
||||||
///
|
///
|
||||||
/// # Example
|
/// # Example
|
||||||
|
|
Loading…
Reference in a new issue