This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Api { | |
public static Api instance = new Api(); | |
public Endpoints endpoints; | |
private Api(){ | |
HttpLoggingInterceptor interceptor = new HttpLoggingInterceptor(); | |
interceptor.level(HttpLoggingInterceptor.Level.BODY); | |
OkHttpClient client = new OkHttpClient.Builder().addInterceptor(interceptor) |