{"action":"created","comment":{"url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/pulls/comments/31497259","id":31497259,"diff_hunk":"@@ -0,0 +1,9 @@\n+json.session do\n+  if @user\n+    json.success true\n+    json.email @user.email\n+    json.auth_token @user.auth_token\n+  else\n+    json.success false\n+  end\n+end","path":"app/views/v1/sessions/destroy.json.jbuilder","position":9,"original_position":9,"commit_id":"8f737e0b6a1f688f15f285e62e270df8781a1108","original_commit_id":"8f737e0b6a1f688f15f285e62e270df8781a1108","user":{"login":"gponsu","id":1218494,"avatar_url":"https://avatars.githubusercontent.com/u/1218494?v=3","gravatar_id":"","url":"https://api.github.com/users/gponsu","html_url":"https://github.com/gponsu","followers_url":"https://api.github.com/users/gponsu/followers","following_url":"https://api.github.com/users/gponsu/following{/other_user}","gists_url":"https://api.github.com/users/gponsu/gists{/gist_id}","starred_url":"https://api.github.com/users/gponsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gponsu/subscriptions","organizations_url":"https://api.github.com/users/gponsu/orgs","repos_url":"https://api.github.com/users/gponsu/repos","events_url":"https://api.github.com/users/gponsu/events{/privacy}","received_events_url":"https://api.github.com/users/gponsu/received_events","type":"User","site_admin":false},"body":"destroy.json and create.json are equals :)","created_at":"2015-06-02T07:10:58Z","updated_at":"2015-06-02T07:10:58Z","html_url":"https://github.com/TheTreeHouse/turniquette-api/pull/40#discussion_r31497259","pull_request_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/TheTreeHouse/turniquette-api/pulls/comments/31497259"},"html":{"href":"https://github.com/TheTreeHouse/turniquette-api/pull/40#discussion_r31497259"},"pull_request":{"href":"https://api.github.com/repos/TheTreeHouse/turniquette-api/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/pulls/40","id":36614313,"html_url":"https://github.com/TheTreeHouse/turniquette-api/pull/40","diff_url":"https://github.com/TheTreeHouse/turniquette-api/pull/40.diff","patch_url":"https://github.com/TheTreeHouse/turniquette-api/pull/40.patch","issue_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/issues/40","number":40,"state":"open","locked":false,"title":"Introduce authentication","user":{"login":"d2bit","id":4805832,"avatar_url":"https://avatars.githubusercontent.com/u/4805832?v=3","gravatar_id":"","url":"https://api.github.com/users/d2bit","html_url":"https://github.com/d2bit","followers_url":"https://api.github.com/users/d2bit/followers","following_url":"https://api.github.com/users/d2bit/following{/other_user}","gists_url":"https://api.github.com/users/d2bit/gists{/gist_id}","starred_url":"https://api.github.com/users/d2bit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d2bit/subscriptions","organizations_url":"https://api.github.com/users/d2bit/orgs","repos_url":"https://api.github.com/users/d2bit/repos","events_url":"https://api.github.com/users/d2bit/events{/privacy}","received_events_url":"https://api.github.com/users/d2bit/received_events","type":"User","site_admin":false},"body":"closes #12 ","created_at":"2015-06-01T10:04:36Z","updated_at":"2015-06-02T07:10:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"207731468ea93f3b38788e42c942848aa7ffbb1a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/pulls/40/commits","review_comments_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/pulls/40/comments","review_comment_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/issues/40/comments","statuses_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/statuses/8f737e0b6a1f688f15f285e62e270df8781a1108","head":{"label":"TheTreeHouse:chore/introduce-authentication","ref":"chore/introduce-authentication","sha":"8f737e0b6a1f688f15f285e62e270df8781a1108","user":{"login":"TheTreeHouse","id":12390434,"avatar_url":"https://avatars.githubusercontent.com/u/12390434?v=3","gravatar_id":"","url":"https://api.github.com/users/TheTreeHouse","html_url":"https://github.com/TheTreeHouse","followers_url":"https://api.github.com/users/TheTreeHouse/followers","following_url":"https://api.github.com/users/TheTreeHouse/following{/other_user}","gists_url":"https://api.github.com/users/TheTreeHouse/gists{/gist_id}","starred_url":"https://api.github.com/users/TheTreeHouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheTreeHouse/subscriptions","organizations_url":"https://api.github.com/users/TheTreeHouse/orgs","repos_url":"https://api.github.com/users/TheTreeHouse/repos","events_url":"https://api.github.com/users/TheTreeHouse/events{/privacy}","received_events_url":"https://api.github.com/users/TheTreeHouse/received_events","type":"Organization","site_admin":false},"repo":{"id":35557687,"name":"turniquette-api","full_name":"TheTreeHouse/turniquette-api","owner":{"login":"TheTreeHouse","id":12390434,"avatar_url":"https://avatars.githubusercontent.com/u/12390434?v=3","gravatar_id":"","url":"https://api.github.com/users/TheTreeHouse","html_url":"https://github.com/TheTreeHouse","followers_url":"https://api.github.com/users/TheTreeHouse/followers","following_url":"https://api.github.com/users/TheTreeHouse/following{/other_user}","gists_url":"https://api.github.com/users/TheTreeHouse/gists{/gist_id}","starred_url":"https://api.github.com/users/TheTreeHouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheTreeHouse/subscriptions","organizations_url":"https://api.github.com/users/TheTreeHouse/orgs","repos_url":"https://api.github.com/users/TheTreeHouse/repos","events_url":"https://api.github.com/users/TheTreeHouse/events{/privacy}","received_events_url":"https://api.github.com/users/TheTreeHouse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TheTreeHouse/turniquette-api","description":"","fork":false,"url":"https://api.github.com/repos/TheTreeHouse/turniquette-api","forks_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/forks","keys_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/teams","hooks_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/hooks","issue_events_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/issues/events{/number}","events_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/events","assignees_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/assignees{/user}","branches_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/branches{/branch}","tags_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/tags","blobs_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/statuses/{sha}","languages_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/languages","stargazers_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/stargazers","contributors_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/contributors","subscribers_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/subscribers","subscription_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/subscription","commits_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/contents/{+path}","compare_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/merges","archive_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/downloads","issues_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/issues{/number}","pulls_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/pulls{/number}","milestones_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/milestones{/number}","notifications_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/labels{/name}","releases_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/releases{/id}","created_at":"2015-05-13T15:36:35Z","updated_at":"2015-05-15T21:31:15Z","pushed_at":"2015-06-01T15:41:36Z","git_url":"git://github.com/TheTreeHouse/turniquette-api.git","ssh_url":"git@github.com:TheTreeHouse/turniquette-api.git","clone_url":"https://github.com/TheTreeHouse/turniquette-api.git","svn_url":"https://github.com/TheTreeHouse/turniquette-api","homepage":null,"size":519,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":15,"forks":1,"open_issues":15,"watchers":2,"default_branch":"master"}},"base":{"label":"TheTreeHouse:master","ref":"master","sha":"bbf1d114f3859f793bfcb9239b1ae388d64e2409","user":{"login":"TheTreeHouse","id":12390434,"avatar_url":"https://avatars.githubusercontent.com/u/12390434?v=3","gravatar_id":"","url":"https://api.github.com/users/TheTreeHouse","html_url":"https://github.com/TheTreeHouse","followers_url":"https://api.github.com/users/TheTreeHouse/followers","following_url":"https://api.github.com/users/TheTreeHouse/following{/other_user}","gists_url":"https://api.github.com/users/TheTreeHouse/gists{/gist_id}","starred_url":"https://api.github.com/users/TheTreeHouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheTreeHouse/subscriptions","organizations_url":"https://api.github.com/users/TheTreeHouse/orgs","repos_url":"https://api.github.com/users/TheTreeHouse/repos","events_url":"https://api.github.com/users/TheTreeHouse/events{/privacy}","received_events_url":"https://api.github.com/users/TheTreeHouse/received_events","type":"Organization","site_admin":false},"repo":{"id":35557687,"name":"turniquette-api","full_name":"TheTreeHouse/turniquette-api","owner":{"login":"TheTreeHouse","id":12390434,"avatar_url":"https://avatars.githubusercontent.com/u/12390434?v=3","gravatar_id":"","url":"https://api.github.com/users/TheTreeHouse","html_url":"https://github.com/TheTreeHouse","followers_url":"https://api.github.com/users/TheTreeHouse/followers","following_url":"https://api.github.com/users/TheTreeHouse/following{/other_user}","gists_url":"https://api.github.com/users/TheTreeHouse/gists{/gist_id}","starred_url":"https://api.github.com/users/TheTreeHouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheTreeHouse/subscriptions","organizations_url":"https://api.github.com/users/TheTreeHouse/orgs","repos_url":"https://api.github.com/users/TheTreeHouse/repos","events_url":"https://api.github.com/users/TheTreeHouse/events{/privacy}","received_events_url":"https://api.github.com/users/TheTreeHouse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TheTreeHouse/turniquette-api","description":"","fork":false,"url":"https://api.github.com/repos/TheTreeHouse/turniquette-api","forks_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/forks","keys_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/teams","hooks_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/hooks","issue_events_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/issues/events{/number}","events_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/events","assignees_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/assignees{/user}","branches_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/branches{/branch}","tags_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/tags","blobs_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/statuses/{sha}","languages_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/languages","stargazers_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/stargazers","contributors_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/contributors","subscribers_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/subscribers","subscription_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/subscription","commits_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/contents/{+path}","compare_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/merges","archive_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/downloads","issues_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/issues{/number}","pulls_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/pulls{/number}","milestones_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/milestones{/number}","notifications_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/labels{/name}","releases_url":"https://api.github.com/repos/TheTreeHouse/turniquette-api/releases{/id}","created_at":"2015-05-13T15:36:35Z","updated_at":"2015-05-15T21:31:15Z","pushed_at":"2015-06-01T15:41:36Z","git_url":"git://github.com/TheTreeHouse/turniquette-api.git","ssh_url":"git@github.com:TheTreeHouse/turniquette-api.git","clone_url":"https://github.com/TheTreeHouse/turniquette-api.git","svn_url":"https://github.com/TheTreeHouse/turniquette-api","homepage":null,"size":519,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":15,"forks":1,"open_issues":15,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TheTreeHouse/turniquette-api/pulls/40"},"html":{"href":"https://github.com/TheTreeHouse/turniquette-api/pull/40"},"issue":{"href":"https://api.github.com/repos/TheTreeHouse/turniquette-api/issues/40"},"comments":{"href":"https://api.github.com/repos/TheTreeHouse/turniquette-api/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/TheTreeHouse/turniquette-api/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/TheTreeHouse/turniquette-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TheTreeHouse/turniquette-api/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/TheTreeHouse/turniquette-api/statuses/8f737e0b6a1f688f15f285e62e270df8781a1108"}}}}