Mercurial > lbo > hg > async-google-apis
changeset 155:30e5944e74de
generate: Set set_urls public
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Tue, 27 Oct 2020 19:54:48 +0100 |
parents | 6604947e0369 |
children | 3b1d9866f158 |
files | generate/templates.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/generate/templates.py Tue Oct 27 19:54:34 2020 +0100 +++ b/generate/templates.py Tue Oct 27 19:54:48 2020 +0100 @@ -138,7 +138,7 @@ #[cfg(test)] /// Override API URLs. `base` is the base path relative to which (relative) method paths are interpreted, /// whereas `root` is the URL relative to which absolute paths are interpreted. - fn set_urls(&mut self, base: String, root: String) { + pub fn set_urls(&mut self, base: String, root: String) { self.base_url = base; self.root_url = root; }