Created
December 14, 2019 22:52
-
-
Save brunapereira/650d8bf3d086f9902351586eb235fd08 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
module Toggle | |
class TestToggleService | |
def show | |
if Flipper.enabled?(:test_feature) | |
'Enabled!' | |
else | |
'Disabled!' | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment