{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/codeunion/examples-sinatra/pulls/6","id":29762202,"html_url":"https://github.com/codeunion/examples-sinatra/pull/6","diff_url":"https://github.com/codeunion/examples-sinatra/pull/6.diff","patch_url":"https://github.com/codeunion/examples-sinatra/pull/6.patch","issue_url":"https://api.github.com/repos/codeunion/examples-sinatra/issues/6","number":6,"state":"closed","locked":false,"title":"Flash message example","user":{"login":"openspectrum","id":709100,"avatar_url":"https://avatars.githubusercontent.com/u/709100?v=3","gravatar_id":"","url":"https://api.github.com/users/openspectrum","html_url":"https://github.com/openspectrum","followers_url":"https://api.github.com/users/openspectrum/followers","following_url":"https://api.github.com/users/openspectrum/following{/other_user}","gists_url":"https://api.github.com/users/openspectrum/gists{/gist_id}","starred_url":"https://api.github.com/users/openspectrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openspectrum/subscriptions","organizations_url":"https://api.github.com/users/openspectrum/orgs","repos_url":"https://api.github.com/users/openspectrum/repos","events_url":"https://api.github.com/users/openspectrum/events{/privacy}","received_events_url":"https://api.github.com/users/openspectrum/received_events","type":"User","site_admin":false},"body":"An example application using `Rack::Flash` messages.\r\n\r\nDisplays error messages when resource fails to save:\r\n\r\n![screen shot 2015-02-21 at 6 19 57 pm](https://cloud.githubusercontent.com/assets/709100/6316519/f53ce4c0-b9f6-11e4-9a9e-bffe3b92d2f0.png)\r\n\r\nDisplays confirmation message when resource saves successfully:\r\n\r\n![screen shot 2015-02-21 at 6 19 40 pm](https://cloud.githubusercontent.com/assets/709100/6316521/fc54d9b6-b9f6-11e4-811b-ec00d6b42f1b.png)\r\n","created_at":"2015-02-21T23:26:03Z","updated_at":"2015-02-22T04:23:35Z","closed_at":"2015-02-22T04:23:35Z","merged_at":"2015-02-22T04:23:35Z","merge_commit_sha":"bba039cad2a89aed79ac2c5a36b0d6f58fb26667","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codeunion/examples-sinatra/pulls/6/commits","review_comments_url":"https://api.github.com/repos/codeunion/examples-sinatra/pulls/6/comments","review_comment_url":"https://api.github.com/repos/codeunion/examples-sinatra/pulls/comments/{number}","comments_url":"https://api.github.com/repos/codeunion/examples-sinatra/issues/6/comments","statuses_url":"https://api.github.com/repos/codeunion/examples-sinatra/statuses/0b0164ac995a34e3fb07d9c37f5f47cfdf0ec040","head":{"label":"codeunion:flash-message-example","ref":"flash-message-example","sha":"0b0164ac995a34e3fb07d9c37f5f47cfdf0ec040","user":{"login":"codeunion","id":7133286,"avatar_url":"https://avatars.githubusercontent.com/u/7133286?v=3","gravatar_id":"","url":"https://api.github.com/users/codeunion","html_url":"https://github.com/codeunion","followers_url":"https://api.github.com/users/codeunion/followers","following_url":"https://api.github.com/users/codeunion/following{/other_user}","gists_url":"https://api.github.com/users/codeunion/gists{/gist_id}","starred_url":"https://api.github.com/users/codeunion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeunion/subscriptions","organizations_url":"https://api.github.com/users/codeunion/orgs","repos_url":"https://api.github.com/users/codeunion/repos","events_url":"https://api.github.com/users/codeunion/events{/privacy}","received_events_url":"https://api.github.com/users/codeunion/received_events","type":"Organization","site_admin":false},"repo":{"id":24577513,"name":"examples-sinatra","full_name":"codeunion/examples-sinatra","owner":{"login":"codeunion","id":7133286,"avatar_url":"https://avatars.githubusercontent.com/u/7133286?v=3","gravatar_id":"","url":"https://api.github.com/users/codeunion","html_url":"https://github.com/codeunion","followers_url":"https://api.github.com/users/codeunion/followers","following_url":"https://api.github.com/users/codeunion/following{/other_user}","gists_url":"https://api.github.com/users/codeunion/gists{/gist_id}","starred_url":"https://api.github.com/users/codeunion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeunion/subscriptions","organizations_url":"https://api.github.com/users/codeunion/orgs","repos_url":"https://api.github.com/users/codeunion/repos","events_url":"https://api.github.com/users/codeunion/events{/privacy}","received_events_url":"https://api.github.com/users/codeunion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codeunion/examples-sinatra","description":"A repository of example Sinatra apps illustrating common patterns in web development","fork":false,"url":"https://api.github.com/repos/codeunion/examples-sinatra","forks_url":"https://api.github.com/repos/codeunion/examples-sinatra/forks","keys_url":"https://api.github.com/repos/codeunion/examples-sinatra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeunion/examples-sinatra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeunion/examples-sinatra/teams","hooks_url":"https://api.github.com/repos/codeunion/examples-sinatra/hooks","issue_events_url":"https://api.github.com/repos/codeunion/examples-sinatra/issues/events{/number}","events_url":"https://api.github.com/repos/codeunion/examples-sinatra/events","assignees_url":"https://api.github.com/repos/codeunion/examples-sinatra/assignees{/user}","branches_url":"https://api.github.com/repos/codeunion/examples-sinatra/branches{/branch}","tags_url":"https://api.github.com/repos/codeunion/examples-sinatra/tags","blobs_url":"https://api.github.com/repos/codeunion/examples-sinatra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeunion/examples-sinatra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeunion/examples-sinatra/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeunion/examples-sinatra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeunion/examples-sinatra/statuses/{sha}","languages_url":"https://api.github.com/repos/codeunion/examples-sinatra/languages","stargazers_url":"https://api.github.com/repos/codeunion/examples-sinatra/stargazers","contributors_url":"https://api.github.com/repos/codeunion/examples-sinatra/contributors","subscribers_url":"https://api.github.com/repos/codeunion/examples-sinatra/subscribers","subscription_url":"https://api.github.com/repos/codeunion/examples-sinatra/subscription","commits_url":"https://api.github.com/repos/codeunion/examples-sinatra/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeunion/examples-sinatra/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeunion/examples-sinatra/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeunion/examples-sinatra/issues/comments{/number}","contents_url":"https://api.github.com/repos/codeunion/examples-sinatra/contents/{+path}","compare_url":"https://api.github.com/repos/codeunion/examples-sinatra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeunion/examples-sinatra/merges","archive_url":"https://api.github.com/repos/codeunion/examples-sinatra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeunion/examples-sinatra/downloads","issues_url":"https://api.github.com/repos/codeunion/examples-sinatra/issues{/number}","pulls_url":"https://api.github.com/repos/codeunion/examples-sinatra/pulls{/number}","milestones_url":"https://api.github.com/repos/codeunion/examples-sinatra/milestones{/number}","notifications_url":"https://api.github.com/repos/codeunion/examples-sinatra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeunion/examples-sinatra/labels{/name}","releases_url":"https://api.github.com/repos/codeunion/examples-sinatra/releases{/id}","created_at":"2014-09-29T02:46:05Z","updated_at":"2015-02-22T04:23:36Z","pushed_at":"2015-02-22T04:23:35Z","git_url":"git://github.com/codeunion/examples-sinatra.git","ssh_url":"git@github.com:codeunion/examples-sinatra.git","clone_url":"https://github.com/codeunion/examples-sinatra.git","svn_url":"https://github.com/codeunion/examples-sinatra","homepage":null,"size":178,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":1,"forks":11,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"codeunion:master","ref":"master","sha":"dab4791b66bf76727e85fad15b85b5b8cf6f1bab","user":{"login":"codeunion","id":7133286,"avatar_url":"https://avatars.githubusercontent.com/u/7133286?v=3","gravatar_id":"","url":"https://api.github.com/users/codeunion","html_url":"https://github.com/codeunion","followers_url":"https://api.github.com/users/codeunion/followers","following_url":"https://api.github.com/users/codeunion/following{/other_user}","gists_url":"https://api.github.com/users/codeunion/gists{/gist_id}","starred_url":"https://api.github.com/users/codeunion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeunion/subscriptions","organizations_url":"https://api.github.com/users/codeunion/orgs","repos_url":"https://api.github.com/users/codeunion/repos","events_url":"https://api.github.com/users/codeunion/events{/privacy}","received_events_url":"https://api.github.com/users/codeunion/received_events","type":"Organization","site_admin":false},"repo":{"id":24577513,"name":"examples-sinatra","full_name":"codeunion/examples-sinatra","owner":{"login":"codeunion","id":7133286,"avatar_url":"https://avatars.githubusercontent.com/u/7133286?v=3","gravatar_id":"","url":"https://api.github.com/users/codeunion","html_url":"https://github.com/codeunion","followers_url":"https://api.github.com/users/codeunion/followers","following_url":"https://api.github.com/users/codeunion/following{/other_user}","gists_url":"https://api.github.com/users/codeunion/gists{/gist_id}","starred_url":"https://api.github.com/users/codeunion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeunion/subscriptions","organizations_url":"https://api.github.com/users/codeunion/orgs","repos_url":"https://api.github.com/users/codeunion/repos","events_url":"https://api.github.com/users/codeunion/events{/privacy}","received_events_url":"https://api.github.com/users/codeunion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codeunion/examples-sinatra","description":"A repository of example Sinatra apps illustrating common patterns in web development","fork":false,"url":"https://api.github.com/repos/codeunion/examples-sinatra","forks_url":"https://api.github.com/repos/codeunion/examples-sinatra/forks","keys_url":"https://api.github.com/repos/codeunion/examples-sinatra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeunion/examples-sinatra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeunion/examples-sinatra/teams","hooks_url":"https://api.github.com/repos/codeunion/examples-sinatra/hooks","issue_events_url":"https://api.github.com/repos/codeunion/examples-sinatra/issues/events{/number}","events_url":"https://api.github.com/repos/codeunion/examples-sinatra/events","assignees_url":"https://api.github.com/repos/codeunion/examples-sinatra/assignees{/user}","branches_url":"https://api.github.com/repos/codeunion/examples-sinatra/branches{/branch}","tags_url":"https://api.github.com/repos/codeunion/examples-sinatra/tags","blobs_url":"https://api.github.com/repos/codeunion/examples-sinatra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeunion/examples-sinatra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeunion/examples-sinatra/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeunion/examples-sinatra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeunion/examples-sinatra/statuses/{sha}","languages_url":"https://api.github.com/repos/codeunion/examples-sinatra/languages","stargazers_url":"https://api.github.com/repos/codeunion/examples-sinatra/stargazers","contributors_url":"https://api.github.com/repos/codeunion/examples-sinatra/contributors","subscribers_url":"https://api.github.com/repos/codeunion/examples-sinatra/subscribers","subscription_url":"https://api.github.com/repos/codeunion/examples-sinatra/subscription","commits_url":"https://api.github.com/repos/codeunion/examples-sinatra/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeunion/examples-sinatra/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeunion/examples-sinatra/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeunion/examples-sinatra/issues/comments{/number}","contents_url":"https://api.github.com/repos/codeunion/examples-sinatra/contents/{+path}","compare_url":"https://api.github.com/repos/codeunion/examples-sinatra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeunion/examples-sinatra/merges","archive_url":"https://api.github.com/repos/codeunion/examples-sinatra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeunion/examples-sinatra/downloads","issues_url":"https://api.github.com/repos/codeunion/examples-sinatra/issues{/number}","pulls_url":"https://api.github.com/repos/codeunion/examples-sinatra/pulls{/number}","milestones_url":"https://api.github.com/repos/codeunion/examples-sinatra/milestones{/number}","notifications_url":"https://api.github.com/repos/codeunion/examples-sinatra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeunion/examples-sinatra/labels{/name}","releases_url":"https://api.github.com/repos/codeunion/examples-sinatra/releases{/id}","created_at":"2014-09-29T02:46:05Z","updated_at":"2015-02-22T04:23:36Z","pushed_at":"2015-02-22T04:23:35Z","git_url":"git://github.com/codeunion/examples-sinatra.git","ssh_url":"git@github.com:codeunion/examples-sinatra.git","clone_url":"https://github.com/codeunion/examples-sinatra.git","svn_url":"https://github.com/codeunion/examples-sinatra","homepage":null,"size":178,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":1,"forks":11,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codeunion/examples-sinatra/pulls/6"},"html":{"href":"https://github.com/codeunion/examples-sinatra/pull/6"},"issue":{"href":"https://api.github.com/repos/codeunion/examples-sinatra/issues/6"},"comments":{"href":"https://api.github.com/repos/codeunion/examples-sinatra/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/codeunion/examples-sinatra/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/codeunion/examples-sinatra/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/codeunion/examples-sinatra/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/codeunion/examples-sinatra/statuses/0b0164ac995a34e3fb07d9c37f5f47cfdf0ec040"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"openspectrum","id":709100,"avatar_url":"https://avatars.githubusercontent.com/u/709100?v=3","gravatar_id":"","url":"https://api.github.com/users/openspectrum","html_url":"https://github.com/openspectrum","followers_url":"https://api.github.com/users/openspectrum/followers","following_url":"https://api.github.com/users/openspectrum/following{/other_user}","gists_url":"https://api.github.com/users/openspectrum/gists{/gist_id}","starred_url":"https://api.github.com/users/openspectrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openspectrum/subscriptions","organizations_url":"https://api.github.com/users/openspectrum/orgs","repos_url":"https://api.github.com/users/openspectrum/repos","events_url":"https://api.github.com/users/openspectrum/events{/privacy}","received_events_url":"https://api.github.com/users/openspectrum/received_events","type":"User","site_admin":false},"comments":3,"review_comments":15,"commits":13,"additions":913,"deletions":0,"changed_files":15}}