public class ApiManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ApiManager.LoggingInterceptor |
| Modifier and Type | Method and Description |
|---|---|
static ConsumerApi |
getConsumerApi()
Get the API service interface for the consumer app using the default base url
|
static ConsumerApi |
getConsumerApi(String baseUrl)
Get the API service interface for the consumer app using the provided base url
|
public static ConsumerApi getConsumerApi()
public static ConsumerApi getConsumerApi(String baseUrl)
baseUrl - the base url for Retrofit. If baseUrl is null or empty, Retrofit will throw exceptions.