Created
June 12, 2020 17:00
-
-
Save thanashyam/f3bfd75078accc93b0f38a4bb5901413 to your computer and use it in GitHub Desktop.
LaunchParty implementation details
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
def toggle_for_account(feature, account, launch = true) | |
method = launch ? :sadd : :srem | |
@store.send(method, account_wise_key(account), feature) | |
@store.send(method, feature_wise_key(feature), account) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment