Ternary operator

I don’t see how that is better than

return if (response.isSuccessful()) response.body().string() else "fail"

I think the Kotlin code is easier to read because you can read it from left to right.