Created
October 1, 2015 15:12
-
-
Save greatseth/04306f819f71883cd546 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
hash = JSON.parse temp | |
whitelist = ["employee","provider","visitor","security"] | |
array << hash if whitelist.include? hash["type"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment