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 {
38
38
@Path(" owner" ) owner : String ,
39
39
@Path(" repo" ) repo : String
40
40
): 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 >>>
52
41
}
53
42
54
43
@JsonIgnoreProperties(ignoreUnknown = true )
Original file line number Diff line number Diff line change 1
1
package contributors
2
2
3
- import io.reactivex.Observable
4
3
import kotlinx.coroutines.delay
5
4
import retrofit2.Call
6
5
import retrofit2.Response
@@ -25,12 +24,4 @@ object MockGithubService : GitHubService {
25
24
delay(testRepo.delay)
26
25
return Response .success(testRepo.users)
27
26
}
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
- }
36
27
}
You can’t perform that action at this time.
0 commit comments