Skip to content

Commit

Permalink
[add] : ReqresDataSourceImpl 생성
Browse files Browse the repository at this point in the history
디렉토리 [data-datasourceimpl-remote]
  • Loading branch information
chanubc committed Dec 31, 2023
1 parent 2a24051 commit de07656
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package org.sopt.dosopttemplate.data.datasourceimpl.remote

import org.sopt.dosopttemplate.data.datasource.remote.ReqresDataSource
import org.sopt.dosopttemplate.data.dto.remote.respose.ResponseReqresDto
import org.sopt.dosopttemplate.data.service.ReqresService

class ReqresDataSourceImpl(
private val reqresService: ReqresService,
) : ReqresDataSource {
override suspend fun getReqresList(page: Int): ResponseReqresDto {
return reqresService.getUserList(page)
}
}

0 comments on commit de07656

Please sign in to comment.