mirror of
https://github.com/tribufu/tribufu-java
synced 2026-05-06 14:57:27 +00:00
Update TribufuApi.java
This commit is contained in:
parent
b2362f6abe
commit
5921982013
1 changed files with 10 additions and 0 deletions
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue