(&self, endpoint: &str)
| 22 | |
| 23 | impl Connection { |
| 24 | pub fn db_uri(&self, endpoint: &str) -> String { |
| 25 | [ |
| 26 | &self.host, |
| 27 | "/v1/database/", |
| 28 | &self.database_identity.to_hex(), |
| 29 | "/", |
| 30 | endpoint, |
| 31 | ] |
| 32 | .concat() |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | pub fn build_client(con: &Connection) -> Client { |
no test coverage detected