package com.hanwha.morakmorak.di

import com.hanwha.morakmorak.data.remote.api.HomeAPI
import com.hanwha.morakmorak.data.remote.api.UserAPI
import org.koin.dsl.module.module
import retrofit2.Retrofit

/**
 * Created by aaron on 2019-09-26
 */

val apiModule = module {
    single(createOnStart = false) { get<Retrofit>().create(HomeAPI::class.java) }
    single(createOnStart = false) { get<Retrofit>().create(UserAPI::class.java) }
}