package com.p3.bewoplaner.page.chat;

import com.p3.bewoplaner.data.api.services.ChatService;
import com.p3.bewoplaner.di.P3DSEndpoint;
import com.p3.bewoplaner.di.scopes.ActivityScope;

import dagger.Module;
import dagger.Provides;
import retrofit2.Retrofit;

/**
 * Created by imarneanu on 3/1/17.
 */
@Module
public class ChatModule {

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

}