{"action":"created","comment":{"url":"https://api.github.com/repos/CraftAcademy/photo_market/pulls/comments/106584223","pull_request_review_id":27512943,"id":106584223,"diff_hunk":"@@ -0,0 +1,19 @@\n+class ShoppingCartsController < ApplicationController\n+  before_action :get_shopping_cart\n+\n+  def show\n+\n+  end\n+\n+  private\n+\n+  def get_shopping_cart\n+    @sum = 0\n+    @cart = ShoppingCart.find(session[:cart_id])","path":"app/controllers/shopping_carts_controller.rb","position":12,"original_position":12,"commit_id":"1c4421c1d4edf760be62b5d90d5491996cc1bb69","original_commit_id":"1c4421c1d4edf760be62b5d90d5491996cc1bb69","user":{"login":"tochman","id":5248170,"avatar_url":"https://avatars2.githubusercontent.com/u/5248170?v=3","gravatar_id":"","url":"https://api.github.com/users/tochman","html_url":"https://github.com/tochman","followers_url":"https://api.github.com/users/tochman/followers","following_url":"https://api.github.com/users/tochman/following{/other_user}","gists_url":"https://api.github.com/users/tochman/gists{/gist_id}","starred_url":"https://api.github.com/users/tochman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tochman/subscriptions","organizations_url":"https://api.github.com/users/tochman/orgs","repos_url":"https://api.github.com/users/tochman/repos","events_url":"https://api.github.com/users/tochman/events{/privacy}","received_events_url":"https://api.github.com/users/tochman/received_events","type":"User","site_admin":false},"body":"Wow, you guys really need to get into the habit of reading documentation.  Please revisit this. ","created_at":"2017-03-17T05:00:49Z","updated_at":"2017-03-17T05:01:35Z","html_url":"https://github.com/CraftAcademy/photo_market/pull/15#discussion_r106584223","pull_request_url":"https://api.github.com/repos/CraftAcademy/photo_market/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/CraftAcademy/photo_market/pulls/comments/106584223"},"html":{"href":"https://github.com/CraftAcademy/photo_market/pull/15#discussion_r106584223"},"pull_request":{"href":"https://api.github.com/repos/CraftAcademy/photo_market/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/CraftAcademy/photo_market/pulls/15","id":111067354,"html_url":"https://github.com/CraftAcademy/photo_market/pull/15","diff_url":"https://github.com/CraftAcademy/photo_market/pull/15.diff","patch_url":"https://github.com/CraftAcademy/photo_market/pull/15.patch","issue_url":"https://api.github.com/repos/CraftAcademy/photo_market/issues/15","number":15,"state":"open","locked":false,"title":"WIP Checkout","user":{"login":"casperjureskog","id":24220714,"avatar_url":"https://avatars2.githubusercontent.com/u/24220714?v=3","gravatar_id":"","url":"https://api.github.com/users/casperjureskog","html_url":"https://github.com/casperjureskog","followers_url":"https://api.github.com/users/casperjureskog/followers","following_url":"https://api.github.com/users/casperjureskog/following{/other_user}","gists_url":"https://api.github.com/users/casperjureskog/gists{/gist_id}","starred_url":"https://api.github.com/users/casperjureskog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/casperjureskog/subscriptions","organizations_url":"https://api.github.com/users/casperjureskog/orgs","repos_url":"https://api.github.com/users/casperjureskog/repos","events_url":"https://api.github.com/users/casperjureskog/events{/privacy}","received_events_url":"https://api.github.com/users/casperjureskog/received_events","type":"User","site_admin":false},"body":"**PT Story:** https://www.pivotaltracker.com/story/show/141586541\r\n\r\nAs a buyer\r\nIn order to get printable high resolution image \r\nI would like to be able to pay for my image.\r\n\r\n**Changes proposed in this PR:**\r\n\r\n* [item 1 - replace me]\r\n* [item 2 - replace me]\r\n\r\n**What I have learned working on this feature:**\r\n[If you don't put anything here you are doing it wrong!]\r\n\r\n**Screenshots:**\r\n[If you made some visual changes to the application please upload screenshots here, or remove this section]","created_at":"2017-03-16T13:28:18Z","updated_at":"2017-03-17T05:01:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dc993605147a1957aa971c5ced230fcfb7c46e43","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CraftAcademy/photo_market/pulls/15/commits","review_comments_url":"https://api.github.com/repos/CraftAcademy/photo_market/pulls/15/comments","review_comment_url":"https://api.github.com/repos/CraftAcademy/photo_market/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CraftAcademy/photo_market/issues/15/comments","statuses_url":"https://api.github.com/repos/CraftAcademy/photo_market/statuses/1c4421c1d4edf760be62b5d90d5491996cc1bb69","head":{"label":"casperjureskog:checkout","ref":"checkout","sha":"1c4421c1d4edf760be62b5d90d5491996cc1bb69","user":{"login":"casperjureskog","id":24220714,"avatar_url":"https://avatars2.githubusercontent.com/u/24220714?v=3","gravatar_id":"","url":"https://api.github.com/users/casperjureskog","html_url":"https://github.com/casperjureskog","followers_url":"https://api.github.com/users/casperjureskog/followers","following_url":"https://api.github.com/users/casperjureskog/following{/other_user}","gists_url":"https://api.github.com/users/casperjureskog/gists{/gist_id}","starred_url":"https://api.github.com/users/casperjureskog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/casperjureskog/subscriptions","organizations_url":"https://api.github.com/users/casperjureskog/orgs","repos_url":"https://api.github.com/users/casperjureskog/repos","events_url":"https://api.github.com/users/casperjureskog/events{/privacy}","received_events_url":"https://api.github.com/users/casperjureskog/received_events","type":"User","site_admin":false},"repo":{"id":84925189,"name":"photo_market","full_name":"casperjureskog/photo_market","owner":{"login":"casperjureskog","id":24220714,"avatar_url":"https://avatars2.githubusercontent.com/u/24220714?v=3","gravatar_id":"","url":"https://api.github.com/users/casperjureskog","html_url":"https://github.com/casperjureskog","followers_url":"https://api.github.com/users/casperjureskog/followers","following_url":"https://api.github.com/users/casperjureskog/following{/other_user}","gists_url":"https://api.github.com/users/casperjureskog/gists{/gist_id}","starred_url":"https://api.github.com/users/casperjureskog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/casperjureskog/subscriptions","organizations_url":"https://api.github.com/users/casperjureskog/orgs","repos_url":"https://api.github.com/users/casperjureskog/repos","events_url":"https://api.github.com/users/casperjureskog/events{/privacy}","received_events_url":"https://api.github.com/users/casperjureskog/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/casperjureskog/photo_market","description":null,"fork":true,"url":"https://api.github.com/repos/casperjureskog/photo_market","forks_url":"https://api.github.com/repos/casperjureskog/photo_market/forks","keys_url":"https://api.github.com/repos/casperjureskog/photo_market/keys{/key_id}","collaborators_url":"https://api.github.com/repos/casperjureskog/photo_market/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/casperjureskog/photo_market/teams","hooks_url":"https://api.github.com/repos/casperjureskog/photo_market/hooks","issue_events_url":"https://api.github.com/repos/casperjureskog/photo_market/issues/events{/number}","events_url":"https://api.github.com/repos/casperjureskog/photo_market/events","assignees_url":"https://api.github.com/repos/casperjureskog/photo_market/assignees{/user}","branches_url":"https://api.github.com/repos/casperjureskog/photo_market/branches{/branch}","tags_url":"https://api.github.com/repos/casperjureskog/photo_market/tags","blobs_url":"https://api.github.com/repos/casperjureskog/photo_market/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/casperjureskog/photo_market/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/casperjureskog/photo_market/git/refs{/sha}","trees_url":"https://api.github.com/repos/casperjureskog/photo_market/git/trees{/sha}","statuses_url":"https://api.github.com/repos/casperjureskog/photo_market/statuses/{sha}","languages_url":"https://api.github.com/repos/casperjureskog/photo_market/languages","stargazers_url":"https://api.github.com/repos/casperjureskog/photo_market/stargazers","contributors_url":"https://api.github.com/repos/casperjureskog/photo_market/contributors","subscribers_url":"https://api.github.com/repos/casperjureskog/photo_market/subscribers","subscription_url":"https://api.github.com/repos/casperjureskog/photo_market/subscription","commits_url":"https://api.github.com/repos/casperjureskog/photo_market/commits{/sha}","git_commits_url":"https://api.github.com/repos/casperjureskog/photo_market/git/commits{/sha}","comments_url":"https://api.github.com/repos/casperjureskog/photo_market/comments{/number}","issue_comment_url":"https://api.github.com/repos/casperjureskog/photo_market/issues/comments{/number}","contents_url":"https://api.github.com/repos/casperjureskog/photo_market/contents/{+path}","compare_url":"https://api.github.com/repos/casperjureskog/photo_market/compare/{base}...{head}","merges_url":"https://api.github.com/repos/casperjureskog/photo_market/merges","archive_url":"https://api.github.com/repos/casperjureskog/photo_market/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/casperjureskog/photo_market/downloads","issues_url":"https://api.github.com/repos/casperjureskog/photo_market/issues{/number}","pulls_url":"https://api.github.com/repos/casperjureskog/photo_market/pulls{/number}","milestones_url":"https://api.github.com/repos/casperjureskog/photo_market/milestones{/number}","notifications_url":"https://api.github.com/repos/casperjureskog/photo_market/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/casperjureskog/photo_market/labels{/name}","releases_url":"https://api.github.com/repos/casperjureskog/photo_market/releases{/id}","deployments_url":"https://api.github.com/repos/casperjureskog/photo_market/deployments","created_at":"2017-03-14T08:38:16Z","updated_at":"2017-03-14T08:38:18Z","pushed_at":"2017-03-16T22:07:50Z","git_url":"git://github.com/casperjureskog/photo_market.git","ssh_url":"git@github.com:casperjureskog/photo_market.git","clone_url":"https://github.com/casperjureskog/photo_market.git","svn_url":"https://github.com/casperjureskog/photo_market","homepage":null,"size":272,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"CraftAcademy:develop","ref":"develop","sha":"a94819e1628fcde29d8a0f88ca62a8089f50db2e","user":{"login":"CraftAcademy","id":12081851,"avatar_url":"https://avatars3.githubusercontent.com/u/12081851?v=3","gravatar_id":"","url":"https://api.github.com/users/CraftAcademy","html_url":"https://github.com/CraftAcademy","followers_url":"https://api.github.com/users/CraftAcademy/followers","following_url":"https://api.github.com/users/CraftAcademy/following{/other_user}","gists_url":"https://api.github.com/users/CraftAcademy/gists{/gist_id}","starred_url":"https://api.github.com/users/CraftAcademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CraftAcademy/subscriptions","organizations_url":"https://api.github.com/users/CraftAcademy/orgs","repos_url":"https://api.github.com/users/CraftAcademy/repos","events_url":"https://api.github.com/users/CraftAcademy/events{/privacy}","received_events_url":"https://api.github.com/users/CraftAcademy/received_events","type":"Organization","site_admin":false},"repo":{"id":84830797,"name":"photo_market","full_name":"CraftAcademy/photo_market","owner":{"login":"CraftAcademy","id":12081851,"avatar_url":"https://avatars3.githubusercontent.com/u/12081851?v=3","gravatar_id":"","url":"https://api.github.com/users/CraftAcademy","html_url":"https://github.com/CraftAcademy","followers_url":"https://api.github.com/users/CraftAcademy/followers","following_url":"https://api.github.com/users/CraftAcademy/following{/other_user}","gists_url":"https://api.github.com/users/CraftAcademy/gists{/gist_id}","starred_url":"https://api.github.com/users/CraftAcademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CraftAcademy/subscriptions","organizations_url":"https://api.github.com/users/CraftAcademy/orgs","repos_url":"https://api.github.com/users/CraftAcademy/repos","events_url":"https://api.github.com/users/CraftAcademy/events{/privacy}","received_events_url":"https://api.github.com/users/CraftAcademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CraftAcademy/photo_market","description":null,"fork":false,"url":"https://api.github.com/repos/CraftAcademy/photo_market","forks_url":"https://api.github.com/repos/CraftAcademy/photo_market/forks","keys_url":"https://api.github.com/repos/CraftAcademy/photo_market/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CraftAcademy/photo_market/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CraftAcademy/photo_market/teams","hooks_url":"https://api.github.com/repos/CraftAcademy/photo_market/hooks","issue_events_url":"https://api.github.com/repos/CraftAcademy/photo_market/issues/events{/number}","events_url":"https://api.github.com/repos/CraftAcademy/photo_market/events","assignees_url":"https://api.github.com/repos/CraftAcademy/photo_market/assignees{/user}","branches_url":"https://api.github.com/repos/CraftAcademy/photo_market/branches{/branch}","tags_url":"https://api.github.com/repos/CraftAcademy/photo_market/tags","blobs_url":"https://api.github.com/repos/CraftAcademy/photo_market/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CraftAcademy/photo_market/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CraftAcademy/photo_market/git/refs{/sha}","trees_url":"https://api.github.com/repos/CraftAcademy/photo_market/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CraftAcademy/photo_market/statuses/{sha}","languages_url":"https://api.github.com/repos/CraftAcademy/photo_market/languages","stargazers_url":"https://api.github.com/repos/CraftAcademy/photo_market/stargazers","contributors_url":"https://api.github.com/repos/CraftAcademy/photo_market/contributors","subscribers_url":"https://api.github.com/repos/CraftAcademy/photo_market/subscribers","subscription_url":"https://api.github.com/repos/CraftAcademy/photo_market/subscription","commits_url":"https://api.github.com/repos/CraftAcademy/photo_market/commits{/sha}","git_commits_url":"https://api.github.com/repos/CraftAcademy/photo_market/git/commits{/sha}","comments_url":"https://api.github.com/repos/CraftAcademy/photo_market/comments{/number}","issue_comment_url":"https://api.github.com/repos/CraftAcademy/photo_market/issues/comments{/number}","contents_url":"https://api.github.com/repos/CraftAcademy/photo_market/contents/{+path}","compare_url":"https://api.github.com/repos/CraftAcademy/photo_market/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CraftAcademy/photo_market/merges","archive_url":"https://api.github.com/repos/CraftAcademy/photo_market/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CraftAcademy/photo_market/downloads","issues_url":"https://api.github.com/repos/CraftAcademy/photo_market/issues{/number}","pulls_url":"https://api.github.com/repos/CraftAcademy/photo_market/pulls{/number}","milestones_url":"https://api.github.com/repos/CraftAcademy/photo_market/milestones{/number}","notifications_url":"https://api.github.com/repos/CraftAcademy/photo_market/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CraftAcademy/photo_market/labels{/name}","releases_url":"https://api.github.com/repos/CraftAcademy/photo_market/releases{/id}","deployments_url":"https://api.github.com/repos/CraftAcademy/photo_market/deployments","created_at":"2017-03-13T13:40:18Z","updated_at":"2017-03-14T08:32:12Z","pushed_at":"2017-03-16T22:07:52Z","git_url":"git://github.com/CraftAcademy/photo_market.git","ssh_url":"git@github.com:CraftAcademy/photo_market.git","clone_url":"https://github.com/CraftAcademy/photo_market.git","svn_url":"https://github.com/CraftAcademy/photo_market","homepage":null,"size":277,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CraftAcademy/photo_market/pulls/15"},"html":{"href":"https://github.com/CraftAcademy/photo_market/pull/15"},"issue":{"href":"https://api.github.com/repos/CraftAcademy/photo_market/issues/15"},"comments":{"href":"https://api.github.com/repos/CraftAcademy/photo_market/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/CraftAcademy/photo_market/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/CraftAcademy/photo_market/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CraftAcademy/photo_market/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/CraftAcademy/photo_market/statuses/1c4421c1d4edf760be62b5d90d5491996cc1bb69"}}}}
{"actor":{"display_login":"tochman"}}