File tree Expand file tree Collapse file tree 6 files changed +7
-12
lines changed
Expand file tree Collapse file tree 6 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ pub async fn allocation(
1414 client : & client:: Client ,
1515 id : types:: UUID ,
1616) -> Result < allocation:: Allocation , Box < dyn std:: error:: Error > > {
17- // retrieve client
17+ // retrieve allocation
1818 Ok ( client
1919 . read :: < allocation:: Allocation > ( & format ! ( "allocations/{id}" ) , "" )
2020 . await ?)
@@ -55,7 +55,7 @@ pub async fn allocations(
5555 params = format ! ( "{params}&endOnAfter={}" , end_date. unwrap( ) )
5656 }
5757
58- // retrieve clients
58+ // retrieve allocations
5959 Ok ( client
6060 . read :: < allocation:: Allocations > ( "allocations" , & params)
6161 . await ?)
Original file line number Diff line number Diff line change 22//!
33//! `interface::expense_item` consists of functions for interfacing with the Ruddr Expense Item endpoints.
44use crate :: client:: client;
5- use crate :: model:: expense_item;
6- use crate :: model:: types;
5+ use crate :: model:: { expense_item, types} ;
76
87/// Retrieves a specific Ruddr Expense Item object by id, and deserializes it to the corresponding model struct.
98/// https://ruddr.readme.io/reference/get-an-expense-item
Original file line number Diff line number Diff line change 22//!
33//! `interface::expense_report` consists of functions for interfacing with the Ruddr Expense Report endpoints.
44use crate :: client:: client;
5- use crate :: model:: expense_report;
6- use crate :: model:: types;
5+ use crate :: model:: { expense_report, types} ;
76
87/// Retrieves a specific Ruddr Expense Report object by id, and deserializes it to the corresponding model struct.
98/// https://ruddr.readme.io/reference/get-an-expense-report
Original file line number Diff line number Diff line change 22//!
33//! `interface::member` consists of functions for interfacing with the Ruddr Member endpoints.
44use crate :: client:: client;
5- use crate :: model:: member;
6- use crate :: model:: types;
5+ use crate :: model:: { member, types} ;
76
87/// Retrieves a specific Ruddr Workspace Member object by id, and deserializes it to the corresponding model struct.
98/// https://ruddr.readme.io/reference/get-a-member
Original file line number Diff line number Diff line change 22//!
33//! `interface::project` consists of functions for interfacing with the Ruddr Project endpoints.
44use crate :: client:: client;
5- use crate :: model:: project;
6- use crate :: model:: { enums, types} ;
5+ use crate :: model:: { enums, project, types} ;
76
87/// Retrieves a specific Ruddr Project object by id, and deserializes it to the corresponding model struct.
98/// https://ruddr.readme.io/reference/get-a-project
Original file line number Diff line number Diff line change 22//!
33//! `interface::time` consists of functions for interfacing with the Ruddr Time Entry endpoints.
44use crate :: client:: client;
5- use crate :: model:: time;
6- use crate :: model:: types;
5+ use crate :: model:: { time, types} ;
76
87/// Retrieves a specific Ruddr Time Entry object by id, and deserializes it to the corresponding model struct.
98/// https://ruddr.readme.io/reference/get-a-time-entry
You can’t perform that action at this time.
0 commit comments