getEnvironment static method
Implementation
static String getEnvironment(String baseUrl) {
String env = "";
switch (baseUrl) {
case "https://app.ventas.cellcard.com.kh/":
env = "PROD";
break;
case "https://ppapp.ventas.cellcard.com.kh/":
env = "PRE_PROD";
break;
default:
env = "QA";
break;
}
return env;
}