Skip to content

Commit

Permalink
Merge pull request #300 from Team-Smeme/sohyeon_#298
Browse files Browse the repository at this point in the history
[ADD] 안드로이드 버전 추가
  • Loading branch information
thguss authored May 28, 2024
2 parents df2cbf9 + f4e822e commit e04fa69
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 e04fa69

Please sign in to comment.