-
-
Save radar/e7b5d2811fa30fb8dfd6de961ee30cf7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public_send(res.reason_phrase == "Created" ? *[:a, "PR Created"] : *[:a, "PR not created"]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if res.reason_phrase == "Created" | |
a("PR Created") | |
else | |
b("PR not created") | |
end | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
res.reason_phrase == "Created" ? a("PR Created") : b("PR not created") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment