// Path: data/src/main/java/eu/rampsoftware/er/data/datasource/remote/CurrencyDataApi.java
// public interface CurrencyDataApi {
// 
//     @GET("/historical/{date}.json")
//     Observable<Response<CurrencyList>> getCurrencies(@Path("date") String date,
//                                                      @Query("app_id") String appId);
// }
// 
// Path: presentation/src/main/java/eu/rampsoftware/er/properties/ApplicationProperties.java
// public interface ApplicationProperties {
//     String baseUrl();
// 
//     boolean logsEnabled();
// 
//     String getOerAppId();
// 
//     String sharedPreferencesName();
// }


import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.jakewharton.retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
import eu.rampsoftware.er.data.datasource.remote.CurrencyDataApi;
import eu.rampsoftware.er.properties.ApplicationProperties;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
package eu.rampsoftware.er.di;




@Module
public class NetModule implements INetModule{

    @Override
    @Provides
    @Singleton
    public Gson provideGson() {
        return new GsonBuilder()
                .setDateFormat("yyyy-MM-dd'T'HH:mm:ss")
                .create();
    }

    @Override
    @Provides
    @Singleton
// Path: data/src/main/java/eu/rampsoftware/er/data/datasource/remote/CurrencyDataApi.java
// public interface CurrencyDataApi {
// 
//     @GET("/historical/{date}.json")
//     Observable<Response<CurrencyList>> getCurrencies(@Path("date") String date,
//                                                      @Query("app_id") String appId);
// }
// 
// Path: presentation/src/main/java/eu/rampsoftware/er/properties/ApplicationProperties.java
// public interface ApplicationProperties {
//     String baseUrl();
// 
//     boolean logsEnabled();
// 
//     String getOerAppId();
// 
//     String sharedPreferencesName();
// }


// Path: presentation/src/main/java/eu/rampsoftware/er/di/NetModule.java
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.jakewharton.retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
import eu.rampsoftware.er.data.datasource.remote.CurrencyDataApi;
import eu.rampsoftware.er.properties.ApplicationProperties;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;

package eu.rampsoftware.er.di;




@Module
public class NetModule implements INetModule{

    @Override
    @Provides
    @Singleton
    public Gson provideGson() {
        return new GsonBuilder()
                .setDateFormat("yyyy-MM-dd'T'HH:mm:ss")
                .create();
    }

    @Override
    @Provides
    @Singleton
    public OkHttpClient provideOkHttpClient(ApplicationProperties propertiesManager) {