-
-
Save bricker/0f8e73bbdfd2fcdaf66a 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
{ | |
... | |
:user_hash => Proc.new { |current_user| | |
OpenSSL::HMAC.hexdigest( | |
"sha256", | |
"ENV['intercom_secret']", | |
current_user.id.to_s | |
) | |
}, | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment