Skip to content

Commit

Permalink
[Feat/#53] Service 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ss99x2002 committed Jul 13, 2023
1 parent b297199 commit dd4f71d
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ package com.sopt.umbba_android.data.model

import com.google.firebase.BuildConfig
import com.jakewharton.retrofit2.converter.kotlinx.serialization.asConverterFactory
import com.sopt.umbba_android.data.service.HomeService
import com.sopt.umbba_android.data.service.ListService
import com.sopt.umbba_android.data.service.OnBoardingService
import com.sopt.umbba_android.data.service.QuestionAnswerService
import com.sopt.umbba_android.data.service.SettingService
import kotlinx.serialization.json.Json
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
Expand Down Expand Up @@ -31,4 +35,8 @@ object ApiFactory {

object ServicePool{
val questionAnswerService = ApiFactory.create<QuestionAnswerService>()
val settingService = ApiFactory.create<SettingService>()
val homeService = ApiFactory.create<HomeService>()
val onBoardingService = ApiFactory.create<OnBoardingService>()
val listService = ApiFactory.create<ListService>()
}

0 comments on commit dd4f71d

Please sign in to comment.