From 3316638e1a2d62594f6d61408ab5c0cd8df55e57 Mon Sep 17 00:00:00 2001 From: sTiKyt Date: Sat, 22 Aug 2020 18:43:29 +0000 Subject: [PATCH] Added obtain_ngrok_url method --- controllers/ngrok_controller.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/controllers/ngrok_controller.py b/controllers/ngrok_controller.py index 79d00dc..281dc62 100644 --- a/controllers/ngrok_controller.py +++ b/controllers/ngrok_controller.py @@ -36,4 +36,8 @@ class NgrokController: @property def ngrok_url(self): - return self._ngrok_url \ No newline at end of file + return self._ngrok_url + + def obtain_ngrok_url(self): + self._ngrok_url = self._tunnels[0] +