Created
February 20, 2018 14:14
-
-
Save anonymous/c895d328d1d8684c37308d7f5ae8353f to your computer and use it in GitHub Desktop.
Ruby create hash with array of hashes
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
d = { | |
"data_format" => 'contact', | |
"data_type" => 'json', | |
"action_type" => 'create', | |
"data" => [{ | |
"id" => "123", | |
"first_name" => "Pete", | |
"last_name" => "Brum" | |
}], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment