Created
October 24, 2019 20:24
-
-
Save michaeldejong/e3001f2dcc0db0d75fdaba05f00ee3b7 to your computer and use it in GitHub Desktop.
This file contains 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
@Data | |
public class GetUserRequest { | |
private final Client client; | |
private final long userId; | |
public Single<User> execute() { | |
return client.get(Service.REST_API, "/users/" + userId); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment