GitHub PullRequestReviewCommentEvent at 2014-10-10 11:13:44
Repository: ruby-course
Actor: budhrg
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/budhrg/ruby-course/pulls/comments/18700075","id":18700075,"diff_hunk":"@@ -2,24 +2,30 @@\n # --------------------------------------------------------------------------\n \n # 1. Write a method to swap two variables. \n-# def method(a, b)\n-#   Your code here....\n-# end\n+ def swap(a, b)\n+   a = a+b\n+   b = a-b\n+   a = a-b\n+ [a,b]","path":"Day1/assignment.rb","position":11,"original_position":11,"commit_id":"354d4c16393994560721b3da4cbdc0b8cf018d7a","original_commit_id":"354d4c16393994560721b3da4cbdc0b8cf018d7a","user":{"login":"budhrg","id":1132451,"avatar_url":"https://avatars.githubusercontent.com/u/1132451?v=2","gravatar_id":"","url":"https://api.github.com/users/budhrg","html_url":"https://github.com/budhrg","followers_url":"https://api.github.com/users/budhrg/followers","following_url":"https://api.github.com/users/budhrg/following{/other_user}","gists_url":"https://api.github.com/users/budhrg/gists{/gist_id}","starred_url":"https://api.github.com/users/budhrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/budhrg/subscriptions","organizations_url":"https://api.github.com/users/budhrg/orgs","repos_url":"https://api.github.com/users/budhrg/repos","events_url":"https://api.github.com/users/budhrg/events{/privacy}","received_events_url":"https://api.github.com/users/budhrg/received_events","type":"User","site_admin":false},"body":"Code is write but need indentation.","created_at":"2014-10-10T11:13:44Z","updated_at":"2014-10-10T11:13:44Z","html_url":"https://github.com/budhrg/ruby-course/pull/32#discussion_r18700075","pull_request_url":"https://api.github.com/repos/budhrg/ruby-course/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/budhrg/ruby-course/pulls/comments/18700075"},"html":{"href":"https://github.com/budhrg/ruby-course/pull/32#discussion_r18700075"},"pull_request":{"href":"https://api.github.com/repos/budhrg/ruby-course/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/budhrg/ruby-course/pulls/32","id":22552156,"html_url":"https://github.com/budhrg/ruby-course/pull/32","diff_url":"https://github.com/budhrg/ruby-course/pull/32.diff","patch_url":"https://github.com/budhrg/ruby-course/pull/32.patch","issue_url":"https://api.github.com/repos/budhrg/ruby-course/issues/32","number":32,"state":"open","locked":false,"title":"Done with assignment of Day1-Subhasis","user":{"login":"jenus05","id":8980940,"avatar_url":"https://avatars.githubusercontent.com/u/8980940?v=2","gravatar_id":"","url":"https://api.github.com/users/jenus05","html_url":"https://github.com/jenus05","followers_url":"https://api.github.com/users/jenus05/followers","following_url":"https://api.github.com/users/jenus05/following{/other_user}","gists_url":"https://api.github.com/users/jenus05/gists{/gist_id}","starred_url":"https://api.github.com/users/jenus05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenus05/subscriptions","organizations_url":"https://api.github.com/users/jenus05/orgs","repos_url":"https://api.github.com/users/jenus05/repos","events_url":"https://api.github.com/users/jenus05/events{/privacy}","received_events_url":"https://api.github.com/users/jenus05/received_events","type":"User","site_admin":false},"body":"Hi @budhrg , please review my code.","created_at":"2014-10-10T10:38:01Z","updated_at":"2014-10-10T11:13:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/budhrg/ruby-course/pulls/32/commits","review_comments_url":"https://api.github.com/repos/budhrg/ruby-course/pulls/32/comments","review_comment_url":"https://api.github.com/repos/budhrg/ruby-course/pulls/comments/{number}","comments_url":"https://api.github.com/repos/budhrg/ruby-course/issues/32/comments","statuses_url":"https://api.github.com/repos/budhrg/ruby-course/statuses/354d4c16393994560721b3da4cbdc0b8cf018d7a","head":{"label":"jenus05:master","ref":"master","sha":"354d4c16393994560721b3da4cbdc0b8cf018d7a","user":{"login":"jenus05","id":8980940,"avatar_url":"https://avatars.githubusercontent.com/u/8980940?v=2","gravatar_id":"","url":"https://api.github.com/users/jenus05","html_url":"https://github.com/jenus05","followers_url":"https://api.github.com/users/jenus05/followers","following_url":"https://api.github.com/users/jenus05/following{/other_user}","gists_url":"https://api.github.com/users/jenus05/gists{/gist_id}","starred_url":"https://api.github.com/users/jenus05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenus05/subscriptions","organizations_url":"https://api.github.com/users/jenus05/orgs","repos_url":"https://api.github.com/users/jenus05/repos","events_url":"https://api.github.com/users/jenus05/events{/privacy}","received_events_url":"https://api.github.com/users/jenus05/received_events","type":"User","site_admin":false},"repo":{"id":24668164,"name":"ruby-course","full_name":"jenus05/ruby-course","owner":{"login":"jenus05","id":8980940,"avatar_url":"https://avatars.githubusercontent.com/u/8980940?v=2","gravatar_id":"","url":"https://api.github.com/users/jenus05","html_url":"https://github.com/jenus05","followers_url":"https://api.github.com/users/jenus05/followers","following_url":"https://api.github.com/users/jenus05/following{/other_user}","gists_url":"https://api.github.com/users/jenus05/gists{/gist_id}","starred_url":"https://api.github.com/users/jenus05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenus05/subscriptions","organizations_url":"https://api.github.com/users/jenus05/orgs","repos_url":"https://api.github.com/users/jenus05/repos","events_url":"https://api.github.com/users/jenus05/events{/privacy}","received_events_url":"https://api.github.com/users/jenus05/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jenus05/ruby-course","description":"Ruby fundamental Course conducted in Vertis.","fork":true,"url":"https://api.github.com/repos/jenus05/ruby-course","forks_url":"https://api.github.com/repos/jenus05/ruby-course/forks","keys_url":"https://api.github.com/repos/jenus05/ruby-course/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenus05/ruby-course/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenus05/ruby-course/teams","hooks_url":"https://api.github.com/repos/jenus05/ruby-course/hooks","issue_events_url":"https://api.github.com/repos/jenus05/ruby-course/issues/events{/number}","events_url":"https://api.github.com/repos/jenus05/ruby-course/events","assignees_url":"https://api.github.com/repos/jenus05/ruby-course/assignees{/user}","branches_url":"https://api.github.com/repos/jenus05/ruby-course/branches{/branch}","tags_url":"https://api.github.com/repos/jenus05/ruby-course/tags","blobs_url":"https://api.github.com/repos/jenus05/ruby-course/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenus05/ruby-course/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenus05/ruby-course/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenus05/ruby-course/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenus05/ruby-course/statuses/{sha}","languages_url":"https://api.github.com/repos/jenus05/ruby-course/languages","stargazers_url":"https://api.github.com/repos/jenus05/ruby-course/stargazers","contributors_url":"https://api.github.com/repos/jenus05/ruby-course/contributors","subscribers_url":"https://api.github.com/repos/jenus05/ruby-course/subscribers","subscription_url":"https://api.github.com/repos/jenus05/ruby-course/subscription","commits_url":"https://api.github.com/repos/jenus05/ruby-course/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenus05/ruby-course/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenus05/ruby-course/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenus05/ruby-course/issues/comments/{number}","contents_url":"https://api.github.com/repos/jenus05/ruby-course/contents/{+path}","compare_url":"https://api.github.com/repos/jenus05/ruby-course/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenus05/ruby-course/merges","archive_url":"https://api.github.com/repos/jenus05/ruby-course/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenus05/ruby-course/downloads","issues_url":"https://api.github.com/repos/jenus05/ruby-course/issues{/number}","pulls_url":"https://api.github.com/repos/jenus05/ruby-course/pulls{/number}","milestones_url":"https://api.github.com/repos/jenus05/ruby-course/milestones{/number}","notifications_url":"https://api.github.com/repos/jenus05/ruby-course/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenus05/ruby-course/labels{/name}","releases_url":"https://api.github.com/repos/jenus05/ruby-course/releases{/id}","created_at":"2014-10-01T06:32:34Z","updated_at":"2014-10-06T07:41:54Z","pushed_at":"2014-10-06T07:41:54Z","git_url":"git://github.com/jenus05/ruby-course.git","ssh_url":"git@github.com:jenus05/ruby-course.git","clone_url":"https://github.com/jenus05/ruby-course.git","svn_url":"https://github.com/jenus05/ruby-course","homepage":null,"size":107,"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":"master"}},"base":{"label":"budhrg:master","ref":"master","sha":"dc160c3775951b7d024a709865054e1d7aa044c3","user":{"login":"budhrg","id":1132451,"avatar_url":"https://avatars.githubusercontent.com/u/1132451?v=2","gravatar_id":"","url":"https://api.github.com/users/budhrg","html_url":"https://github.com/budhrg","followers_url":"https://api.github.com/users/budhrg/followers","following_url":"https://api.github.com/users/budhrg/following{/other_user}","gists_url":"https://api.github.com/users/budhrg/gists{/gist_id}","starred_url":"https://api.github.com/users/budhrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/budhrg/subscriptions","organizations_url":"https://api.github.com/users/budhrg/orgs","repos_url":"https://api.github.com/users/budhrg/repos","events_url":"https://api.github.com/users/budhrg/events{/privacy}","received_events_url":"https://api.github.com/users/budhrg/received_events","type":"User","site_admin":false},"repo":{"id":21939519,"name":"ruby-course","full_name":"budhrg/ruby-course","owner":{"login":"budhrg","id":1132451,"avatar_url":"https://avatars.githubusercontent.com/u/1132451?v=2","gravatar_id":"","url":"https://api.github.com/users/budhrg","html_url":"https://github.com/budhrg","followers_url":"https://api.github.com/users/budhrg/followers","following_url":"https://api.github.com/users/budhrg/following{/other_user}","gists_url":"https://api.github.com/users/budhrg/gists{/gist_id}","starred_url":"https://api.github.com/users/budhrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/budhrg/subscriptions","organizations_url":"https://api.github.com/users/budhrg/orgs","repos_url":"https://api.github.com/users/budhrg/repos","events_url":"https://api.github.com/users/budhrg/events{/privacy}","received_events_url":"https://api.github.com/users/budhrg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/budhrg/ruby-course","description":"Ruby fundamental Course conducted in Vertis.","fork":false,"url":"https://api.github.com/repos/budhrg/ruby-course","forks_url":"https://api.github.com/repos/budhrg/ruby-course/forks","keys_url":"https://api.github.com/repos/budhrg/ruby-course/keys{/key_id}","collaborators_url":"https://api.github.com/repos/budhrg/ruby-course/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/budhrg/ruby-course/teams","hooks_url":"https://api.github.com/repos/budhrg/ruby-course/hooks","issue_events_url":"https://api.github.com/repos/budhrg/ruby-course/issues/events{/number}","events_url":"https://api.github.com/repos/budhrg/ruby-course/events","assignees_url":"https://api.github.com/repos/budhrg/ruby-course/assignees{/user}","branches_url":"https://api.github.com/repos/budhrg/ruby-course/branches{/branch}","tags_url":"https://api.github.com/repos/budhrg/ruby-course/tags","blobs_url":"https://api.github.com/repos/budhrg/ruby-course/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/budhrg/ruby-course/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/budhrg/ruby-course/git/refs{/sha}","trees_url":"https://api.github.com/repos/budhrg/ruby-course/git/trees{/sha}","statuses_url":"https://api.github.com/repos/budhrg/ruby-course/statuses/{sha}","languages_url":"https://api.github.com/repos/budhrg/ruby-course/languages","stargazers_url":"https://api.github.com/repos/budhrg/ruby-course/stargazers","contributors_url":"https://api.github.com/repos/budhrg/ruby-course/contributors","subscribers_url":"https://api.github.com/repos/budhrg/ruby-course/subscribers","subscription_url":"https://api.github.com/repos/budhrg/ruby-course/subscription","commits_url":"https://api.github.com/repos/budhrg/ruby-course/commits{/sha}","git_commits_url":"https://api.github.com/repos/budhrg/ruby-course/git/commits{/sha}","comments_url":"https://api.github.com/repos/budhrg/ruby-course/comments{/number}","issue_comment_url":"https://api.github.com/repos/budhrg/ruby-course/issues/comments/{number}","contents_url":"https://api.github.com/repos/budhrg/ruby-course/contents/{+path}","compare_url":"https://api.github.com/repos/budhrg/ruby-course/compare/{base}...{head}","merges_url":"https://api.github.com/repos/budhrg/ruby-course/merges","archive_url":"https://api.github.com/repos/budhrg/ruby-course/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/budhrg/ruby-course/downloads","issues_url":"https://api.github.com/repos/budhrg/ruby-course/issues{/number}","pulls_url":"https://api.github.com/repos/budhrg/ruby-course/pulls{/number}","milestones_url":"https://api.github.com/repos/budhrg/ruby-course/milestones{/number}","notifications_url":"https://api.github.com/repos/budhrg/ruby-course/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/budhrg/ruby-course/labels{/name}","releases_url":"https://api.github.com/repos/budhrg/ruby-course/releases{/id}","created_at":"2014-07-17T11:35:16Z","updated_at":"2014-09-04T02:57:41Z","pushed_at":"2014-10-06T11:49:32Z","git_url":"git://github.com/budhrg/ruby-course.git","ssh_url":"git@github.com:budhrg/ruby-course.git","clone_url":"https://github.com/budhrg/ruby-course.git","svn_url":"https://github.com/budhrg/ruby-course","homepage":null,"size":519,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":6,"forks":36,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/budhrg/ruby-course/pulls/32"},"html":{"href":"https://github.com/budhrg/ruby-course/pull/32"},"issue":{"href":"https://api.github.com/repos/budhrg/ruby-course/issues/32"},"comments":{"href":"https://api.github.com/repos/budhrg/ruby-course/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/budhrg/ruby-course/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/budhrg/ruby-course/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/budhrg/ruby-course/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/budhrg/ruby-course/statuses/354d4c16393994560721b3da4cbdc0b8cf018d7a"}}}}