File tree Expand file tree Collapse file tree 2 files changed +0
-20
lines changed
Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -38,17 +38,6 @@ interface GitHubService {
3838 @Path(" owner" ) owner : String ,
3939 @Path(" repo" ) repo : String
4040 ): Response <List <User >>
41-
42- @GET(" orgs/{org}/repos?per_page=100" )
43- fun getOrgReposRx (
44- @Path(" org" ) org : String
45- ): Observable <Response <List <Repo >>>
46-
47- @GET(" repos/{owner}/{repo}/contributors?per_page=100" )
48- fun getRepoContributorsRx (
49- @Path(" owner" ) owner : String ,
50- @Path(" repo" ) repo : String
51- ): Observable <Response <List <User >>>
5241}
5342
5443@JsonIgnoreProperties(ignoreUnknown = true )
Original file line number Diff line number Diff line change 11package contributors
22
3- import io.reactivex.Observable
43import kotlinx.coroutines.delay
54import retrofit2.Call
65import retrofit2.Response
@@ -25,12 +24,4 @@ object MockGithubService : GitHubService {
2524 delay(testRepo.delay)
2625 return Response .success(testRepo.users)
2726 }
28-
29- override fun getOrgReposRx (org : String ): Observable <Response <List <Repo >>> {
30- TODO (" not implemented" ) // To change body of created functions use File | Settings | File Templates.
31- }
32-
33- override fun getRepoContributorsRx (owner : String , repo : String ): Observable <Response <List <User >>> {
34- TODO (" not implemented" ) // To change body of created functions use File | Settings | File Templates.
35- }
3627}
You can’t perform that action at this time.
0 commit comments