Skip to content

Instantly share code, notes, and snippets.

@jdx
Created May 16, 2015 01:24
Show Gist options
  • Save jdx/ddb4912adb95225a2669 to your computer and use it in GitHub Desktop.
Save jdx/ddb4912adb95225a2669 to your computer and use it in GitHub Desktop.
require 'multi_json'
MultiJson.load("{
\"config_vars\": [
\"DATABASE_URL\"
],
\"created_at\": \"2015-05-15T20: 56: 57Z\",
\"id\": \"b84428f9-06cd-4a92-b238-9081afa27344\",
\"name\": \"walking-purposefully-7680\",
\"addon_service\": {
\"id\": \"6c67493d-8fc2-4cd4-9161-4f1ec11cbe69\",
\"name\": \"heroku-postgresql\"
},
\"plan\": {
\"id\": \"95a1ce4c-c651-45dc-aaee-79b4603e76b7\",
\"name\": \"heroku-postgresql: dev\"
},
\"app\": {
\"id\": \"08e59bb9-e60c-448c-b616-3b623586d231\",
\"name\": \"puchd\"
},
\"provider_id\": \"9237592\",
\"updated_at\": \"2015-05-15T20: 57: 04Z\",
\"web_url\": \"https: //postgres.heroku.com/[email protected]\",
\"provision_message\": \"Databasehasbeencreatedandisavailable\\n!Thisdatabaseisempty.Ifupgrading, youcantransfer\\n!datafromanotherdatabasewithpgbackups: restore\"
}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment