Update TribufuApi.java

This commit is contained in:
Guilherme Werner 2024-01-01 15:07:07 -03:00
parent b2362f6abe
commit 5921982013

View file

@ -88,6 +88,16 @@ public class TribufuApi {
return null;
}
/**
* Create a TribufuApi from environment variables or the default api.
*
* This will fallback to the default api if the environment variables are not
* set.
*/
public static TribufuApi fromEnvOrDefault() {
return TribufuApi.fromEnvOrDefault(null);
}
/**
* Create a TribufuApi from environment variables or the default api.
*