docs: add doccomment for get_courses
This commit is contained in:
parent
cdddd1937e
commit
5cb87b1adf
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ use time::serde::iso8601;
|
||||||
use time::OffsetDateTime;
|
use time::OffsetDateTime;
|
||||||
|
|
||||||
impl CanvasClient {
|
impl CanvasClient {
|
||||||
|
/// Get a list of courses the current user is enrolled in.
|
||||||
pub async fn get_courses(&self) -> Result<Vec<Course>, reqwest::Error> {
|
pub async fn get_courses(&self) -> Result<Vec<Course>, reqwest::Error> {
|
||||||
let response = self
|
let response = self
|
||||||
.client
|
.client
|
||||||
|
|
Loading…
Reference in a new issue