// Path: app/src/main/java/fr/guddy/androidstarteralt/IEnvironment.java
// public interface IEnvironment {
// 
//     HttpLoggingInterceptor.Level getHttpLoggingInterceptorLevel();
// 
//     boolean isDebugDrawerEnabled();
// 
// }
// 
// Path: app/src/main/java/fr/guddy/androidstarteralt/rest/GitHubService.java
// public interface GitHubService {
//     @GET("/users/{user}/repos")
//     Call<List<DTORepo>> listRepos(@Path("user") final String psUser);
// }


import android.content.Context;
import android.support.annotation.NonNull;
import com.github.aurae.retrofit2.LoganSquareConverterFactory;
import com.novoda.merlin.Merlin;
import com.novoda.merlin.MerlinsBeard;
import com.squareup.picasso.Picasso;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
import fr.guddy.androidstarteralt.IEnvironment;
import fr.guddy.androidstarteralt.rest.GitHubService;
import io.palaima.debugdrawer.picasso.PicassoModule;
import okhttp3.Cache;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Retrofit;

package fr.guddy.androidstarteralt.di.modules;





@Module
public class ModuleRest {

    private final static int CACHE_SIZE_BYTES = 1024 * 1024 * 10;

    private final String mBaseUrl;

    public ModuleRest(@NonNull final String psBaseUrl) {
        mBaseUrl = psBaseUrl;
    }


// Path: app/src/main/java/fr/guddy/androidstarteralt/IEnvironment.java
// public interface IEnvironment {
// 
//     HttpLoggingInterceptor.Level getHttpLoggingInterceptorLevel();
// 
//     boolean isDebugDrawerEnabled();
// 
// }
// 
// Path: app/src/main/java/fr/guddy/androidstarteralt/rest/GitHubService.java
// public interface GitHubService {
//     @GET("/users/{user}/repos")
//     Call<List<DTORepo>> listRepos(@Path("user") final String psUser);
// }


// Path: app/src/main/java/fr/guddy/androidstarteralt/di/modules/ModuleRest.java
import android.content.Context;
import android.support.annotation.NonNull;
import com.github.aurae.retrofit2.LoganSquareConverterFactory;
import com.novoda.merlin.Merlin;
import com.novoda.merlin.MerlinsBeard;
import com.squareup.picasso.Picasso;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
import fr.guddy.androidstarteralt.IEnvironment;
import fr.guddy.androidstarteralt.rest.GitHubService;
import io.palaima.debugdrawer.picasso.PicassoModule;
import okhttp3.Cache;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Retrofit;

package fr.guddy.androidstarteralt.di.modules;





@Module
public class ModuleRest {

    private final static int CACHE_SIZE_BYTES = 1024 * 1024 * 10;

    private final String mBaseUrl;

    public ModuleRest(@NonNull final String psBaseUrl) {
        mBaseUrl = psBaseUrl;
    }


    public ModuleRest() {
