{"action":"created","comment":{"url":"https://api.github.com/repos/v-tsvid/lamazone_review/pulls/comments/70288989","id":70288989,"diff_hunk":"@@ -0,0 +1,36 @@\n+module CheckoutsHelper\n+  def order_summary_cols_hash(item)\n+    coupon = item.coupon\n+\n+    {\"#{t(\"checkout.order.subtotal\")}: \" => \n+     \"#{PriceDecorator.decorate(item.subtotal).price}\",\n+\n+     \"#{t(\"checkout.order.discount\")}: \" => \n+     \"#{coupon ? coupon.discount : 0}%\",\n+\n+     \"#{t(\"checkout.order.shipping\")}: \" => \n+     \"#{PriceDecorator.decorate(item.shipping_price).price}\",\n+\n+     \"#{t(\"checkout.order.total\")}: \" => \n+     \"#{PriceDecorator.decorate(item.total_price).price}\"}","path":"app/helpers/checkouts_helper.rb","position":15,"original_position":15,"commit_id":"99879d50cf9cb8da0e756a2bd0790e45efef5d5e","original_commit_id":"99879d50cf9cb8da0e756a2bd0790e45efef5d5e","user":{"login":"yamnich","id":1251643,"avatar_url":"https://avatars.githubusercontent.com/u/1251643?v=3","gravatar_id":"","url":"https://api.github.com/users/yamnich","html_url":"https://github.com/yamnich","followers_url":"https://api.github.com/users/yamnich/followers","following_url":"https://api.github.com/users/yamnich/following{/other_user}","gists_url":"https://api.github.com/users/yamnich/gists{/gist_id}","starred_url":"https://api.github.com/users/yamnich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yamnich/subscriptions","organizations_url":"https://api.github.com/users/yamnich/orgs","repos_url":"https://api.github.com/users/yamnich/repos","events_url":"https://api.github.com/users/yamnich/events{/privacy}","received_events_url":"https://api.github.com/users/yamnich/received_events","type":"User","site_admin":false},"body":"could we use OOP here?","created_at":"2016-07-11T16:17:23Z","updated_at":"2016-07-11T16:17:23Z","html_url":"https://github.com/v-tsvid/lamazone_review/pull/2#discussion_r70288989","pull_request_url":"https://api.github.com/repos/v-tsvid/lamazone_review/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/v-tsvid/lamazone_review/pulls/comments/70288989"},"html":{"href":"https://github.com/v-tsvid/lamazone_review/pull/2#discussion_r70288989"},"pull_request":{"href":"https://api.github.com/repos/v-tsvid/lamazone_review/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/v-tsvid/lamazone_review/pulls/2","id":76956676,"html_url":"https://github.com/v-tsvid/lamazone_review/pull/2","diff_url":"https://github.com/v-tsvid/lamazone_review/pull/2.diff","patch_url":"https://github.com/v-tsvid/lamazone_review/pull/2.patch","issue_url":"https://api.github.com/repos/v-tsvid/lamazone_review/issues/2","number":2,"state":"open","locked":false,"title":"for review","user":{"login":"v-tsvid","id":11190850,"avatar_url":"https://avatars.githubusercontent.com/u/11190850?v=3","gravatar_id":"","url":"https://api.github.com/users/v-tsvid","html_url":"https://github.com/v-tsvid","followers_url":"https://api.github.com/users/v-tsvid/followers","following_url":"https://api.github.com/users/v-tsvid/following{/other_user}","gists_url":"https://api.github.com/users/v-tsvid/gists{/gist_id}","starred_url":"https://api.github.com/users/v-tsvid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-tsvid/subscriptions","organizations_url":"https://api.github.com/users/v-tsvid/orgs","repos_url":"https://api.github.com/users/v-tsvid/repos","events_url":"https://api.github.com/users/v-tsvid/events{/privacy}","received_events_url":"https://api.github.com/users/v-tsvid/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-11T13:49:22Z","updated_at":"2016-07-11T16:17:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d2cbb43baa0cab5689f1914cfa6cd51e397d438","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/v-tsvid/lamazone_review/pulls/2/commits","review_comments_url":"https://api.github.com/repos/v-tsvid/lamazone_review/pulls/2/comments","review_comment_url":"https://api.github.com/repos/v-tsvid/lamazone_review/pulls/comments{/number}","comments_url":"https://api.github.com/repos/v-tsvid/lamazone_review/issues/2/comments","statuses_url":"https://api.github.com/repos/v-tsvid/lamazone_review/statuses/99879d50cf9cb8da0e756a2bd0790e45efef5d5e","head":{"label":"v-tsvid:dev","ref":"dev","sha":"99879d50cf9cb8da0e756a2bd0790e45efef5d5e","user":{"login":"v-tsvid","id":11190850,"avatar_url":"https://avatars.githubusercontent.com/u/11190850?v=3","gravatar_id":"","url":"https://api.github.com/users/v-tsvid","html_url":"https://github.com/v-tsvid","followers_url":"https://api.github.com/users/v-tsvid/followers","following_url":"https://api.github.com/users/v-tsvid/following{/other_user}","gists_url":"https://api.github.com/users/v-tsvid/gists{/gist_id}","starred_url":"https://api.github.com/users/v-tsvid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-tsvid/subscriptions","organizations_url":"https://api.github.com/users/v-tsvid/orgs","repos_url":"https://api.github.com/users/v-tsvid/repos","events_url":"https://api.github.com/users/v-tsvid/events{/privacy}","received_events_url":"https://api.github.com/users/v-tsvid/received_events","type":"User","site_admin":false},"repo":{"id":63068884,"name":"lamazone_review","full_name":"v-tsvid/lamazone_review","owner":{"login":"v-tsvid","id":11190850,"avatar_url":"https://avatars.githubusercontent.com/u/11190850?v=3","gravatar_id":"","url":"https://api.github.com/users/v-tsvid","html_url":"https://github.com/v-tsvid","followers_url":"https://api.github.com/users/v-tsvid/followers","following_url":"https://api.github.com/users/v-tsvid/following{/other_user}","gists_url":"https://api.github.com/users/v-tsvid/gists{/gist_id}","starred_url":"https://api.github.com/users/v-tsvid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-tsvid/subscriptions","organizations_url":"https://api.github.com/users/v-tsvid/orgs","repos_url":"https://api.github.com/users/v-tsvid/repos","events_url":"https://api.github.com/users/v-tsvid/events{/privacy}","received_events_url":"https://api.github.com/users/v-tsvid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/v-tsvid/lamazone_review","description":null,"fork":false,"url":"https://api.github.com/repos/v-tsvid/lamazone_review","forks_url":"https://api.github.com/repos/v-tsvid/lamazone_review/forks","keys_url":"https://api.github.com/repos/v-tsvid/lamazone_review/keys{/key_id}","collaborators_url":"https://api.github.com/repos/v-tsvid/lamazone_review/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/v-tsvid/lamazone_review/teams","hooks_url":"https://api.github.com/repos/v-tsvid/lamazone_review/hooks","issue_events_url":"https://api.github.com/repos/v-tsvid/lamazone_review/issues/events{/number}","events_url":"https://api.github.com/repos/v-tsvid/lamazone_review/events","assignees_url":"https://api.github.com/repos/v-tsvid/lamazone_review/assignees{/user}","branches_url":"https://api.github.com/repos/v-tsvid/lamazone_review/branches{/branch}","tags_url":"https://api.github.com/repos/v-tsvid/lamazone_review/tags","blobs_url":"https://api.github.com/repos/v-tsvid/lamazone_review/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/v-tsvid/lamazone_review/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/v-tsvid/lamazone_review/git/refs{/sha}","trees_url":"https://api.github.com/repos/v-tsvid/lamazone_review/git/trees{/sha}","statuses_url":"https://api.github.com/repos/v-tsvid/lamazone_review/statuses/{sha}","languages_url":"https://api.github.com/repos/v-tsvid/lamazone_review/languages","stargazers_url":"https://api.github.com/repos/v-tsvid/lamazone_review/stargazers","contributors_url":"https://api.github.com/repos/v-tsvid/lamazone_review/contributors","subscribers_url":"https://api.github.com/repos/v-tsvid/lamazone_review/subscribers","subscription_url":"https://api.github.com/repos/v-tsvid/lamazone_review/subscription","commits_url":"https://api.github.com/repos/v-tsvid/lamazone_review/commits{/sha}","git_commits_url":"https://api.github.com/repos/v-tsvid/lamazone_review/git/commits{/sha}","comments_url":"https://api.github.com/repos/v-tsvid/lamazone_review/comments{/number}","issue_comment_url":"https://api.github.com/repos/v-tsvid/lamazone_review/issues/comments{/number}","contents_url":"https://api.github.com/repos/v-tsvid/lamazone_review/contents/{+path}","compare_url":"https://api.github.com/repos/v-tsvid/lamazone_review/compare/{base}...{head}","merges_url":"https://api.github.com/repos/v-tsvid/lamazone_review/merges","archive_url":"https://api.github.com/repos/v-tsvid/lamazone_review/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/v-tsvid/lamazone_review/downloads","issues_url":"https://api.github.com/repos/v-tsvid/lamazone_review/issues{/number}","pulls_url":"https://api.github.com/repos/v-tsvid/lamazone_review/pulls{/number}","milestones_url":"https://api.github.com/repos/v-tsvid/lamazone_review/milestones{/number}","notifications_url":"https://api.github.com/repos/v-tsvid/lamazone_review/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/v-tsvid/lamazone_review/labels{/name}","releases_url":"https://api.github.com/repos/v-tsvid/lamazone_review/releases{/id}","deployments_url":"https://api.github.com/repos/v-tsvid/lamazone_review/deployments","created_at":"2016-07-11T13:08:00Z","updated_at":"2016-07-11T13:20:24Z","pushed_at":"2016-07-11T13:49:22Z","git_url":"git://github.com/v-tsvid/lamazone_review.git","ssh_url":"git@github.com:v-tsvid/lamazone_review.git","clone_url":"https://github.com/v-tsvid/lamazone_review.git","svn_url":"https://github.com/v-tsvid/lamazone_review","homepage":"http://lamazone.herokuapp.com/","size":795,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"v-tsvid:master","ref":"master","sha":"9841e7ec8d39d35da05ecbaa67d2d764b9537740","user":{"login":"v-tsvid","id":11190850,"avatar_url":"https://avatars.githubusercontent.com/u/11190850?v=3","gravatar_id":"","url":"https://api.github.com/users/v-tsvid","html_url":"https://github.com/v-tsvid","followers_url":"https://api.github.com/users/v-tsvid/followers","following_url":"https://api.github.com/users/v-tsvid/following{/other_user}","gists_url":"https://api.github.com/users/v-tsvid/gists{/gist_id}","starred_url":"https://api.github.com/users/v-tsvid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-tsvid/subscriptions","organizations_url":"https://api.github.com/users/v-tsvid/orgs","repos_url":"https://api.github.com/users/v-tsvid/repos","events_url":"https://api.github.com/users/v-tsvid/events{/privacy}","received_events_url":"https://api.github.com/users/v-tsvid/received_events","type":"User","site_admin":false},"repo":{"id":63068884,"name":"lamazone_review","full_name":"v-tsvid/lamazone_review","owner":{"login":"v-tsvid","id":11190850,"avatar_url":"https://avatars.githubusercontent.com/u/11190850?v=3","gravatar_id":"","url":"https://api.github.com/users/v-tsvid","html_url":"https://github.com/v-tsvid","followers_url":"https://api.github.com/users/v-tsvid/followers","following_url":"https://api.github.com/users/v-tsvid/following{/other_user}","gists_url":"https://api.github.com/users/v-tsvid/gists{/gist_id}","starred_url":"https://api.github.com/users/v-tsvid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-tsvid/subscriptions","organizations_url":"https://api.github.com/users/v-tsvid/orgs","repos_url":"https://api.github.com/users/v-tsvid/repos","events_url":"https://api.github.com/users/v-tsvid/events{/privacy}","received_events_url":"https://api.github.com/users/v-tsvid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/v-tsvid/lamazone_review","description":null,"fork":false,"url":"https://api.github.com/repos/v-tsvid/lamazone_review","forks_url":"https://api.github.com/repos/v-tsvid/lamazone_review/forks","keys_url":"https://api.github.com/repos/v-tsvid/lamazone_review/keys{/key_id}","collaborators_url":"https://api.github.com/repos/v-tsvid/lamazone_review/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/v-tsvid/lamazone_review/teams","hooks_url":"https://api.github.com/repos/v-tsvid/lamazone_review/hooks","issue_events_url":"https://api.github.com/repos/v-tsvid/lamazone_review/issues/events{/number}","events_url":"https://api.github.com/repos/v-tsvid/lamazone_review/events","assignees_url":"https://api.github.com/repos/v-tsvid/lamazone_review/assignees{/user}","branches_url":"https://api.github.com/repos/v-tsvid/lamazone_review/branches{/branch}","tags_url":"https://api.github.com/repos/v-tsvid/lamazone_review/tags","blobs_url":"https://api.github.com/repos/v-tsvid/lamazone_review/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/v-tsvid/lamazone_review/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/v-tsvid/lamazone_review/git/refs{/sha}","trees_url":"https://api.github.com/repos/v-tsvid/lamazone_review/git/trees{/sha}","statuses_url":"https://api.github.com/repos/v-tsvid/lamazone_review/statuses/{sha}","languages_url":"https://api.github.com/repos/v-tsvid/lamazone_review/languages","stargazers_url":"https://api.github.com/repos/v-tsvid/lamazone_review/stargazers","contributors_url":"https://api.github.com/repos/v-tsvid/lamazone_review/contributors","subscribers_url":"https://api.github.com/repos/v-tsvid/lamazone_review/subscribers","subscription_url":"https://api.github.com/repos/v-tsvid/lamazone_review/subscription","commits_url":"https://api.github.com/repos/v-tsvid/lamazone_review/commits{/sha}","git_commits_url":"https://api.github.com/repos/v-tsvid/lamazone_review/git/commits{/sha}","comments_url":"https://api.github.com/repos/v-tsvid/lamazone_review/comments{/number}","issue_comment_url":"https://api.github.com/repos/v-tsvid/lamazone_review/issues/comments{/number}","contents_url":"https://api.github.com/repos/v-tsvid/lamazone_review/contents/{+path}","compare_url":"https://api.github.com/repos/v-tsvid/lamazone_review/compare/{base}...{head}","merges_url":"https://api.github.com/repos/v-tsvid/lamazone_review/merges","archive_url":"https://api.github.com/repos/v-tsvid/lamazone_review/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/v-tsvid/lamazone_review/downloads","issues_url":"https://api.github.com/repos/v-tsvid/lamazone_review/issues{/number}","pulls_url":"https://api.github.com/repos/v-tsvid/lamazone_review/pulls{/number}","milestones_url":"https://api.github.com/repos/v-tsvid/lamazone_review/milestones{/number}","notifications_url":"https://api.github.com/repos/v-tsvid/lamazone_review/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/v-tsvid/lamazone_review/labels{/name}","releases_url":"https://api.github.com/repos/v-tsvid/lamazone_review/releases{/id}","deployments_url":"https://api.github.com/repos/v-tsvid/lamazone_review/deployments","created_at":"2016-07-11T13:08:00Z","updated_at":"2016-07-11T13:20:24Z","pushed_at":"2016-07-11T13:49:22Z","git_url":"git://github.com/v-tsvid/lamazone_review.git","ssh_url":"git@github.com:v-tsvid/lamazone_review.git","clone_url":"https://github.com/v-tsvid/lamazone_review.git","svn_url":"https://github.com/v-tsvid/lamazone_review","homepage":"http://lamazone.herokuapp.com/","size":795,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/v-tsvid/lamazone_review/pulls/2"},"html":{"href":"https://github.com/v-tsvid/lamazone_review/pull/2"},"issue":{"href":"https://api.github.com/repos/v-tsvid/lamazone_review/issues/2"},"comments":{"href":"https://api.github.com/repos/v-tsvid/lamazone_review/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/v-tsvid/lamazone_review/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/v-tsvid/lamazone_review/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/v-tsvid/lamazone_review/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/v-tsvid/lamazone_review/statuses/99879d50cf9cb8da0e756a2bd0790e45efef5d5e"}}}}
{"actor":{"display_login":"yamnich"}}