{"action":"created","comment":{"url":"https://api.github.com/repos/sehrnadeem1/rails-1/pulls/comments/151970289","pull_request_review_id":77758956,"id":151970289,"diff_hunk":"@@ -0,0 +1,7 @@\n+class Item < ActiveRecord::Base\n+  validates :quantity, :numericality => { :greater_than_or_equal_to => 0 }\n+  validates :price, :numericality => { :greater_than => 0 }\n+  validates_presence_of :name","path":"app/models/item.rb","position":4,"original_position":4,"commit_id":"1f277fe33ffabb02e20edc795ef9e7208b4529ba","original_commit_id":"1f277fe33ffabb02e20edc795ef9e7208b4529ba","user":{"login":"HassanAkbar","id":5301572,"avatar_url":"https://avatars3.githubusercontent.com/u/5301572?v=4","gravatar_id":"","url":"https://api.github.com/users/HassanAkbar","html_url":"https://github.com/HassanAkbar","followers_url":"https://api.github.com/users/HassanAkbar/followers","following_url":"https://api.github.com/users/HassanAkbar/following{/other_user}","gists_url":"https://api.github.com/users/HassanAkbar/gists{/gist_id}","starred_url":"https://api.github.com/users/HassanAkbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HassanAkbar/subscriptions","organizations_url":"https://api.github.com/users/HassanAkbar/orgs","repos_url":"https://api.github.com/users/HassanAkbar/repos","events_url":"https://api.github.com/users/HassanAkbar/events{/privacy}","received_events_url":"https://api.github.com/users/HassanAkbar/received_events","type":"User","site_admin":false},"body":"validation","created_at":"2017-11-20T11:49:52Z","updated_at":"2017-11-20T11:49:52Z","html_url":"https://github.com/sehrnadeem1/rails-1/pull/1#discussion_r151970289","pull_request_url":"https://api.github.com/repos/sehrnadeem1/rails-1/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/sehrnadeem1/rails-1/pulls/comments/151970289"},"html":{"href":"https://github.com/sehrnadeem1/rails-1/pull/1#discussion_r151970289"},"pull_request":{"href":"https://api.github.com/repos/sehrnadeem1/rails-1/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/sehrnadeem1/rails-1/pulls/1","id":153570336,"html_url":"https://github.com/sehrnadeem1/rails-1/pull/1","diff_url":"https://github.com/sehrnadeem1/rails-1/pull/1.diff","patch_url":"https://github.com/sehrnadeem1/rails-1/pull/1.patch","issue_url":"https://api.github.com/repos/sehrnadeem1/rails-1/issues/1","number":1,"state":"open","locked":false,"title":"rails project","user":{"login":"sehrnadeem1","id":33514424,"avatar_url":"https://avatars0.githubusercontent.com/u/33514424?v=4","gravatar_id":"","url":"https://api.github.com/users/sehrnadeem1","html_url":"https://github.com/sehrnadeem1","followers_url":"https://api.github.com/users/sehrnadeem1/followers","following_url":"https://api.github.com/users/sehrnadeem1/following{/other_user}","gists_url":"https://api.github.com/users/sehrnadeem1/gists{/gist_id}","starred_url":"https://api.github.com/users/sehrnadeem1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sehrnadeem1/subscriptions","organizations_url":"https://api.github.com/users/sehrnadeem1/orgs","repos_url":"https://api.github.com/users/sehrnadeem1/repos","events_url":"https://api.github.com/users/sehrnadeem1/events{/privacy}","received_events_url":"https://api.github.com/users/sehrnadeem1/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-20T08:37:18Z","updated_at":"2017-11-20T11:49:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6503afd17cf02e766acbd1a7335f6325b7f09400","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/sehrnadeem1/rails-1/pulls/1/commits","review_comments_url":"https://api.github.com/repos/sehrnadeem1/rails-1/pulls/1/comments","review_comment_url":"https://api.github.com/repos/sehrnadeem1/rails-1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sehrnadeem1/rails-1/issues/1/comments","statuses_url":"https://api.github.com/repos/sehrnadeem1/rails-1/statuses/1f277fe33ffabb02e20edc795ef9e7208b4529ba","head":{"label":"sehrnadeem1:develop","ref":"develop","sha":"1f277fe33ffabb02e20edc795ef9e7208b4529ba","user":{"login":"sehrnadeem1","id":33514424,"avatar_url":"https://avatars0.githubusercontent.com/u/33514424?v=4","gravatar_id":"","url":"https://api.github.com/users/sehrnadeem1","html_url":"https://github.com/sehrnadeem1","followers_url":"https://api.github.com/users/sehrnadeem1/followers","following_url":"https://api.github.com/users/sehrnadeem1/following{/other_user}","gists_url":"https://api.github.com/users/sehrnadeem1/gists{/gist_id}","starred_url":"https://api.github.com/users/sehrnadeem1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sehrnadeem1/subscriptions","organizations_url":"https://api.github.com/users/sehrnadeem1/orgs","repos_url":"https://api.github.com/users/sehrnadeem1/repos","events_url":"https://api.github.com/users/sehrnadeem1/events{/privacy}","received_events_url":"https://api.github.com/users/sehrnadeem1/received_events","type":"User","site_admin":false},"repo":{"id":111382894,"name":"rails-1","full_name":"sehrnadeem1/rails-1","owner":{"login":"sehrnadeem1","id":33514424,"avatar_url":"https://avatars0.githubusercontent.com/u/33514424?v=4","gravatar_id":"","url":"https://api.github.com/users/sehrnadeem1","html_url":"https://github.com/sehrnadeem1","followers_url":"https://api.github.com/users/sehrnadeem1/followers","following_url":"https://api.github.com/users/sehrnadeem1/following{/other_user}","gists_url":"https://api.github.com/users/sehrnadeem1/gists{/gist_id}","starred_url":"https://api.github.com/users/sehrnadeem1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sehrnadeem1/subscriptions","organizations_url":"https://api.github.com/users/sehrnadeem1/orgs","repos_url":"https://api.github.com/users/sehrnadeem1/repos","events_url":"https://api.github.com/users/sehrnadeem1/events{/privacy}","received_events_url":"https://api.github.com/users/sehrnadeem1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sehrnadeem1/rails-1","description":null,"fork":false,"url":"https://api.github.com/repos/sehrnadeem1/rails-1","forks_url":"https://api.github.com/repos/sehrnadeem1/rails-1/forks","keys_url":"https://api.github.com/repos/sehrnadeem1/rails-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sehrnadeem1/rails-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sehrnadeem1/rails-1/teams","hooks_url":"https://api.github.com/repos/sehrnadeem1/rails-1/hooks","issue_events_url":"https://api.github.com/repos/sehrnadeem1/rails-1/issues/events{/number}","events_url":"https://api.github.com/repos/sehrnadeem1/rails-1/events","assignees_url":"https://api.github.com/repos/sehrnadeem1/rails-1/assignees{/user}","branches_url":"https://api.github.com/repos/sehrnadeem1/rails-1/branches{/branch}","tags_url":"https://api.github.com/repos/sehrnadeem1/rails-1/tags","blobs_url":"https://api.github.com/repos/sehrnadeem1/rails-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sehrnadeem1/rails-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sehrnadeem1/rails-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/sehrnadeem1/rails-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sehrnadeem1/rails-1/statuses/{sha}","languages_url":"https://api.github.com/repos/sehrnadeem1/rails-1/languages","stargazers_url":"https://api.github.com/repos/sehrnadeem1/rails-1/stargazers","contributors_url":"https://api.github.com/repos/sehrnadeem1/rails-1/contributors","subscribers_url":"https://api.github.com/repos/sehrnadeem1/rails-1/subscribers","subscription_url":"https://api.github.com/repos/sehrnadeem1/rails-1/subscription","commits_url":"https://api.github.com/repos/sehrnadeem1/rails-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/sehrnadeem1/rails-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/sehrnadeem1/rails-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/sehrnadeem1/rails-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/sehrnadeem1/rails-1/contents/{+path}","compare_url":"https://api.github.com/repos/sehrnadeem1/rails-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sehrnadeem1/rails-1/merges","archive_url":"https://api.github.com/repos/sehrnadeem1/rails-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sehrnadeem1/rails-1/downloads","issues_url":"https://api.github.com/repos/sehrnadeem1/rails-1/issues{/number}","pulls_url":"https://api.github.com/repos/sehrnadeem1/rails-1/pulls{/number}","milestones_url":"https://api.github.com/repos/sehrnadeem1/rails-1/milestones{/number}","notifications_url":"https://api.github.com/repos/sehrnadeem1/rails-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sehrnadeem1/rails-1/labels{/name}","releases_url":"https://api.github.com/repos/sehrnadeem1/rails-1/releases{/id}","deployments_url":"https://api.github.com/repos/sehrnadeem1/rails-1/deployments","created_at":"2017-11-20T08:33:17Z","updated_at":"2017-11-20T08:33:17Z","pushed_at":"2017-11-20T11:07:45Z","git_url":"git://github.com/sehrnadeem1/rails-1.git","ssh_url":"git@github.com:sehrnadeem1/rails-1.git","clone_url":"https://github.com/sehrnadeem1/rails-1.git","svn_url":"https://github.com/sehrnadeem1/rails-1","homepage":null,"size":4596,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sehrnadeem1:master","ref":"master","sha":"f251fb2552dc49377df00e982f1cd34a2144cbd0","user":{"login":"sehrnadeem1","id":33514424,"avatar_url":"https://avatars0.githubusercontent.com/u/33514424?v=4","gravatar_id":"","url":"https://api.github.com/users/sehrnadeem1","html_url":"https://github.com/sehrnadeem1","followers_url":"https://api.github.com/users/sehrnadeem1/followers","following_url":"https://api.github.com/users/sehrnadeem1/following{/other_user}","gists_url":"https://api.github.com/users/sehrnadeem1/gists{/gist_id}","starred_url":"https://api.github.com/users/sehrnadeem1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sehrnadeem1/subscriptions","organizations_url":"https://api.github.com/users/sehrnadeem1/orgs","repos_url":"https://api.github.com/users/sehrnadeem1/repos","events_url":"https://api.github.com/users/sehrnadeem1/events{/privacy}","received_events_url":"https://api.github.com/users/sehrnadeem1/received_events","type":"User","site_admin":false},"repo":{"id":111382894,"name":"rails-1","full_name":"sehrnadeem1/rails-1","owner":{"login":"sehrnadeem1","id":33514424,"avatar_url":"https://avatars0.githubusercontent.com/u/33514424?v=4","gravatar_id":"","url":"https://api.github.com/users/sehrnadeem1","html_url":"https://github.com/sehrnadeem1","followers_url":"https://api.github.com/users/sehrnadeem1/followers","following_url":"https://api.github.com/users/sehrnadeem1/following{/other_user}","gists_url":"https://api.github.com/users/sehrnadeem1/gists{/gist_id}","starred_url":"https://api.github.com/users/sehrnadeem1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sehrnadeem1/subscriptions","organizations_url":"https://api.github.com/users/sehrnadeem1/orgs","repos_url":"https://api.github.com/users/sehrnadeem1/repos","events_url":"https://api.github.com/users/sehrnadeem1/events{/privacy}","received_events_url":"https://api.github.com/users/sehrnadeem1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sehrnadeem1/rails-1","description":null,"fork":false,"url":"https://api.github.com/repos/sehrnadeem1/rails-1","forks_url":"https://api.github.com/repos/sehrnadeem1/rails-1/forks","keys_url":"https://api.github.com/repos/sehrnadeem1/rails-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sehrnadeem1/rails-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sehrnadeem1/rails-1/teams","hooks_url":"https://api.github.com/repos/sehrnadeem1/rails-1/hooks","issue_events_url":"https://api.github.com/repos/sehrnadeem1/rails-1/issues/events{/number}","events_url":"https://api.github.com/repos/sehrnadeem1/rails-1/events","assignees_url":"https://api.github.com/repos/sehrnadeem1/rails-1/assignees{/user}","branches_url":"https://api.github.com/repos/sehrnadeem1/rails-1/branches{/branch}","tags_url":"https://api.github.com/repos/sehrnadeem1/rails-1/tags","blobs_url":"https://api.github.com/repos/sehrnadeem1/rails-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sehrnadeem1/rails-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sehrnadeem1/rails-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/sehrnadeem1/rails-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sehrnadeem1/rails-1/statuses/{sha}","languages_url":"https://api.github.com/repos/sehrnadeem1/rails-1/languages","stargazers_url":"https://api.github.com/repos/sehrnadeem1/rails-1/stargazers","contributors_url":"https://api.github.com/repos/sehrnadeem1/rails-1/contributors","subscribers_url":"https://api.github.com/repos/sehrnadeem1/rails-1/subscribers","subscription_url":"https://api.github.com/repos/sehrnadeem1/rails-1/subscription","commits_url":"https://api.github.com/repos/sehrnadeem1/rails-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/sehrnadeem1/rails-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/sehrnadeem1/rails-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/sehrnadeem1/rails-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/sehrnadeem1/rails-1/contents/{+path}","compare_url":"https://api.github.com/repos/sehrnadeem1/rails-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sehrnadeem1/rails-1/merges","archive_url":"https://api.github.com/repos/sehrnadeem1/rails-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sehrnadeem1/rails-1/downloads","issues_url":"https://api.github.com/repos/sehrnadeem1/rails-1/issues{/number}","pulls_url":"https://api.github.com/repos/sehrnadeem1/rails-1/pulls{/number}","milestones_url":"https://api.github.com/repos/sehrnadeem1/rails-1/milestones{/number}","notifications_url":"https://api.github.com/repos/sehrnadeem1/rails-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sehrnadeem1/rails-1/labels{/name}","releases_url":"https://api.github.com/repos/sehrnadeem1/rails-1/releases{/id}","deployments_url":"https://api.github.com/repos/sehrnadeem1/rails-1/deployments","created_at":"2017-11-20T08:33:17Z","updated_at":"2017-11-20T08:33:17Z","pushed_at":"2017-11-20T11:07:45Z","git_url":"git://github.com/sehrnadeem1/rails-1.git","ssh_url":"git@github.com:sehrnadeem1/rails-1.git","clone_url":"https://github.com/sehrnadeem1/rails-1.git","svn_url":"https://github.com/sehrnadeem1/rails-1","homepage":null,"size":4596,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sehrnadeem1/rails-1/pulls/1"},"html":{"href":"https://github.com/sehrnadeem1/rails-1/pull/1"},"issue":{"href":"https://api.github.com/repos/sehrnadeem1/rails-1/issues/1"},"comments":{"href":"https://api.github.com/repos/sehrnadeem1/rails-1/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/sehrnadeem1/rails-1/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/sehrnadeem1/rails-1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sehrnadeem1/rails-1/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/sehrnadeem1/rails-1/statuses/1f277fe33ffabb02e20edc795ef9e7208b4529ba"}},"author_association":"OWNER"}}
{"actor":{"display_login":"HassanAkbar"}}