package de.beyondsoft.ownchat.page.sharing;

import dagger.Module;
import dagger.Provides;
import de.beyondsoft.ownchat.data.api.services.ChatService;
import de.beyondsoft.ownchat.di.P3DSEndpoint;
import de.beyondsoft.ownchat.di.scopes.ActivityScope;
import retrofit2.Retrofit;

/**
 * Created by Lyndon on 03-Nov-2017.
 */

@Module
public class SharingModule {
    @Provides
    @ActivityScope
    ChatService provideChatService(@P3DSEndpoint Retrofit retrofit) {
        return retrofit.create(ChatService.class);
    }
}
