mirror of
https://github.com/tribufu/tribufu-java
synced 2026-05-18 09:35:44 +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;
|
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.
|
* Create a TribufuApi from environment variables or the default api.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue