class CompetitionInviteRestServiceImpl extends BaseRestService implements CompetitionInviteRestService {

    @Override
    public RestResult<CompetitionInviteResource> getInvite(String inviteHash) {
        return getWithRestResultAnonymous(format("%s/%s/%s", COMPETITION_INVITE_REST_URL, "get-invite", inviteHash), CompetitionInviteResource.class);
    }

}