Skip to content

Commit

Permalink
[ADD] 안드로이드 버전 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
thguss committed May 28, 2024
1 parent 210de64 commit f4e822e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@
public record ClientVersionGetResponse(
String title,
String content,
VersionResponse iosVersion
VersionResponse iosVersion,
VersionResponse androidVersion
) {

public static ClientVersionGetResponse of(ClientVersionGetServiceResponse response) {
return ClientVersionGetResponse.builder()
.title(response.title())
.content(response.content())
.iosVersion(VersionResponse.of(response.iosVersion(), response.iosForceVersion()))
.androidVersion(VersionResponse.of(response.androidVersion(), response.androidForceVersion()))
.build();
}

Expand Down

0 comments on commit f4e822e

Please sign in to comment.