Skip to content

Instantly share code, notes, and snippets.

@thanashyam
Created June 12, 2020 17:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thanashyam/f3bfd75078accc93b0f38a4bb5901413 to your computer and use it in GitHub Desktop.
Save thanashyam/f3bfd75078accc93b0f38a4bb5901413 to your computer and use it in GitHub Desktop.
LaunchParty implementation details
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