(follow-up issue) Small refactor of Zentao::Client#ping
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
The following discussion from !69602 (merged) should be addressed:
-
@.luke started a discussion: Suggestion (not blocking)
It looks like
response
is always guaranteed to be aHash
at this point (either from correctly parsed JSON, or therescue
on the line above:active = response['deleted'] == '0'
Edited by 🤖 GitLab Bot 🤖