Created
February 12, 2019 15:26
-
-
Save wellingtoncosta/f23825696df55c0cc8f524f678cd862c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface GithubApi { | |
@GET("users") | |
fun getAll(): Deferred<List<UserResponse>> | |
@GET("users/{username}") | |
fun getByUsername(@Path("username") username: String): Deferred<UserResponse> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment