mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 06:08:52 +00:00
VMS: Allow configuration of API base.
This commit is contained in:
parent
6431118d59
commit
361407ebf2
1 changed files with 5 additions and 1 deletions
|
@ -37,7 +37,11 @@ public class VmsProvider extends AbstractEfaProvider {
|
|||
private static final HttpUrl API_BASE = HttpUrl.parse("https://www.vms.de/vms2/");
|
||||
|
||||
public VmsProvider() {
|
||||
super(NetworkId.VMS, API_BASE);
|
||||
this(API_BASE);
|
||||
}
|
||||
|
||||
public VmsProvider(final HttpUrl apiBase) {
|
||||
super(NetworkId.VMS, apiBase);
|
||||
setRequestUrlEncoding(Charsets.UTF_8);
|
||||
setUseLineRestriction(false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue