{"action":"created","comment":{"url":"https://api.github.com/repos/andela-oduyile/borrowIt/pulls/comments/137922187","pull_request_review_id":61658793,"id":137922187,"diff_hunk":"@@ -0,0 +1,4 @@\n+class Request < ApplicationRecord\n+  belongs_to :requestedBy, :class_name => 'User'","path":"app/models/request.rb","position":2,"original_position":2,"commit_id":"da0fdfd560cfa4f121cf4128787a7cd69ef63c4b","original_commit_id":"da0fdfd560cfa4f121cf4128787a7cd69ef63c4b","user":{"login":"andela-oakinniranye","id":12733004,"avatar_url":"https://avatars1.githubusercontent.com/u/12733004?v=4","gravatar_id":"","url":"https://api.github.com/users/andela-oakinniranye","html_url":"https://github.com/andela-oakinniranye","followers_url":"https://api.github.com/users/andela-oakinniranye/followers","following_url":"https://api.github.com/users/andela-oakinniranye/following{/other_user}","gists_url":"https://api.github.com/users/andela-oakinniranye/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-oakinniranye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-oakinniranye/subscriptions","organizations_url":"https://api.github.com/users/andela-oakinniranye/orgs","repos_url":"https://api.github.com/users/andela-oakinniranye/repos","events_url":"https://api.github.com/users/andela-oakinniranye/events{/privacy}","received_events_url":"https://api.github.com/users/andela-oakinniranye/received_events","type":"User","site_admin":false},"body":"or should we use `borrower` & `owner` instead if that reads better???","created_at":"2017-09-09T09:02:16Z","updated_at":"2017-09-09T09:02:16Z","html_url":"https://github.com/andela-oduyile/borrowIt/pull/1#discussion_r137922187","pull_request_url":"https://api.github.com/repos/andela-oduyile/borrowIt/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/andela-oduyile/borrowIt/pulls/comments/137922187"},"html":{"href":"https://github.com/andela-oduyile/borrowIt/pull/1#discussion_r137922187"},"pull_request":{"href":"https://api.github.com/repos/andela-oduyile/borrowIt/pulls/1"}},"in_reply_to_id":137922177},"pull_request":{"url":"https://api.github.com/repos/andela-oduyile/borrowIt/pulls/1","id":140161932,"html_url":"https://github.com/andela-oduyile/borrowIt/pull/1","diff_url":"https://github.com/andela-oduyile/borrowIt/pull/1.diff","patch_url":"https://github.com/andela-oduyile/borrowIt/pull/1.patch","issue_url":"https://api.github.com/repos/andela-oduyile/borrowIt/issues/1","number":1,"state":"open","locked":false,"title":"Request crud operations","user":{"login":"andela-oduyile","id":25608336,"avatar_url":"https://avatars0.githubusercontent.com/u/25608336?v=4","gravatar_id":"","url":"https://api.github.com/users/andela-oduyile","html_url":"https://github.com/andela-oduyile","followers_url":"https://api.github.com/users/andela-oduyile/followers","following_url":"https://api.github.com/users/andela-oduyile/following{/other_user}","gists_url":"https://api.github.com/users/andela-oduyile/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-oduyile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-oduyile/subscriptions","organizations_url":"https://api.github.com/users/andela-oduyile/orgs","repos_url":"https://api.github.com/users/andela-oduyile/repos","events_url":"https://api.github.com/users/andela-oduyile/events{/privacy}","received_events_url":"https://api.github.com/users/andela-oduyile/received_events","type":"User","site_admin":false},"body":"#### What does this PR do\r\n- This PR sets up request crud operation\r\n\r\n#### Descrition of task to be completed\r\n- user can `create request`\r\n-  user can `view a particular request`\r\n- user can `update a request`\r\n- user can `delete a request`\r\n- setup models \r\n\r\n","created_at":"2017-09-09T08:43:21Z","updated_at":"2017-09-09T09:02:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a04512828a288864e58306ee6235d74951421ada","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela-oduyile/borrowIt/pulls/1/commits","review_comments_url":"https://api.github.com/repos/andela-oduyile/borrowIt/pulls/1/comments","review_comment_url":"https://api.github.com/repos/andela-oduyile/borrowIt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela-oduyile/borrowIt/issues/1/comments","statuses_url":"https://api.github.com/repos/andela-oduyile/borrowIt/statuses/da0fdfd560cfa4f121cf4128787a7cd69ef63c4b","head":{"label":"andela-oduyile:request-crud-operations","ref":"request-crud-operations","sha":"da0fdfd560cfa4f121cf4128787a7cd69ef63c4b","user":{"login":"andela-oduyile","id":25608336,"avatar_url":"https://avatars0.githubusercontent.com/u/25608336?v=4","gravatar_id":"","url":"https://api.github.com/users/andela-oduyile","html_url":"https://github.com/andela-oduyile","followers_url":"https://api.github.com/users/andela-oduyile/followers","following_url":"https://api.github.com/users/andela-oduyile/following{/other_user}","gists_url":"https://api.github.com/users/andela-oduyile/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-oduyile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-oduyile/subscriptions","organizations_url":"https://api.github.com/users/andela-oduyile/orgs","repos_url":"https://api.github.com/users/andela-oduyile/repos","events_url":"https://api.github.com/users/andela-oduyile/events{/privacy}","received_events_url":"https://api.github.com/users/andela-oduyile/received_events","type":"User","site_admin":false},"repo":{"id":102908640,"name":"borrowIt","full_name":"andela-oduyile/borrowIt","owner":{"login":"andela-oduyile","id":25608336,"avatar_url":"https://avatars0.githubusercontent.com/u/25608336?v=4","gravatar_id":"","url":"https://api.github.com/users/andela-oduyile","html_url":"https://github.com/andela-oduyile","followers_url":"https://api.github.com/users/andela-oduyile/followers","following_url":"https://api.github.com/users/andela-oduyile/following{/other_user}","gists_url":"https://api.github.com/users/andela-oduyile/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-oduyile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-oduyile/subscriptions","organizations_url":"https://api.github.com/users/andela-oduyile/orgs","repos_url":"https://api.github.com/users/andela-oduyile/repos","events_url":"https://api.github.com/users/andela-oduyile/events{/privacy}","received_events_url":"https://api.github.com/users/andela-oduyile/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-oduyile/borrowIt","description":"Uber for borrowing stuff","fork":false,"url":"https://api.github.com/repos/andela-oduyile/borrowIt","forks_url":"https://api.github.com/repos/andela-oduyile/borrowIt/forks","keys_url":"https://api.github.com/repos/andela-oduyile/borrowIt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-oduyile/borrowIt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-oduyile/borrowIt/teams","hooks_url":"https://api.github.com/repos/andela-oduyile/borrowIt/hooks","issue_events_url":"https://api.github.com/repos/andela-oduyile/borrowIt/issues/events{/number}","events_url":"https://api.github.com/repos/andela-oduyile/borrowIt/events","assignees_url":"https://api.github.com/repos/andela-oduyile/borrowIt/assignees{/user}","branches_url":"https://api.github.com/repos/andela-oduyile/borrowIt/branches{/branch}","tags_url":"https://api.github.com/repos/andela-oduyile/borrowIt/tags","blobs_url":"https://api.github.com/repos/andela-oduyile/borrowIt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-oduyile/borrowIt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-oduyile/borrowIt/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-oduyile/borrowIt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-oduyile/borrowIt/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-oduyile/borrowIt/languages","stargazers_url":"https://api.github.com/repos/andela-oduyile/borrowIt/stargazers","contributors_url":"https://api.github.com/repos/andela-oduyile/borrowIt/contributors","subscribers_url":"https://api.github.com/repos/andela-oduyile/borrowIt/subscribers","subscription_url":"https://api.github.com/repos/andela-oduyile/borrowIt/subscription","commits_url":"https://api.github.com/repos/andela-oduyile/borrowIt/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-oduyile/borrowIt/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-oduyile/borrowIt/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-oduyile/borrowIt/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-oduyile/borrowIt/contents/{+path}","compare_url":"https://api.github.com/repos/andela-oduyile/borrowIt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-oduyile/borrowIt/merges","archive_url":"https://api.github.com/repos/andela-oduyile/borrowIt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-oduyile/borrowIt/downloads","issues_url":"https://api.github.com/repos/andela-oduyile/borrowIt/issues{/number}","pulls_url":"https://api.github.com/repos/andela-oduyile/borrowIt/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-oduyile/borrowIt/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-oduyile/borrowIt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-oduyile/borrowIt/labels{/name}","releases_url":"https://api.github.com/repos/andela-oduyile/borrowIt/releases{/id}","deployments_url":"https://api.github.com/repos/andela-oduyile/borrowIt/deployments","created_at":"2017-09-08T22:12:25Z","updated_at":"2017-09-08T22:12:55Z","pushed_at":"2017-09-09T08:58:20Z","git_url":"git://github.com/andela-oduyile/borrowIt.git","ssh_url":"git@github.com:andela-oduyile/borrowIt.git","clone_url":"https://github.com/andela-oduyile/borrowIt.git","svn_url":"https://github.com/andela-oduyile/borrowIt","homepage":null,"size":15,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":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":"andela-oduyile:master","ref":"master","sha":"951025b3d18d4551c2e63af56d48d9ff64d53373","user":{"login":"andela-oduyile","id":25608336,"avatar_url":"https://avatars0.githubusercontent.com/u/25608336?v=4","gravatar_id":"","url":"https://api.github.com/users/andela-oduyile","html_url":"https://github.com/andela-oduyile","followers_url":"https://api.github.com/users/andela-oduyile/followers","following_url":"https://api.github.com/users/andela-oduyile/following{/other_user}","gists_url":"https://api.github.com/users/andela-oduyile/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-oduyile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-oduyile/subscriptions","organizations_url":"https://api.github.com/users/andela-oduyile/orgs","repos_url":"https://api.github.com/users/andela-oduyile/repos","events_url":"https://api.github.com/users/andela-oduyile/events{/privacy}","received_events_url":"https://api.github.com/users/andela-oduyile/received_events","type":"User","site_admin":false},"repo":{"id":102908640,"name":"borrowIt","full_name":"andela-oduyile/borrowIt","owner":{"login":"andela-oduyile","id":25608336,"avatar_url":"https://avatars0.githubusercontent.com/u/25608336?v=4","gravatar_id":"","url":"https://api.github.com/users/andela-oduyile","html_url":"https://github.com/andela-oduyile","followers_url":"https://api.github.com/users/andela-oduyile/followers","following_url":"https://api.github.com/users/andela-oduyile/following{/other_user}","gists_url":"https://api.github.com/users/andela-oduyile/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-oduyile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-oduyile/subscriptions","organizations_url":"https://api.github.com/users/andela-oduyile/orgs","repos_url":"https://api.github.com/users/andela-oduyile/repos","events_url":"https://api.github.com/users/andela-oduyile/events{/privacy}","received_events_url":"https://api.github.com/users/andela-oduyile/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-oduyile/borrowIt","description":"Uber for borrowing stuff","fork":false,"url":"https://api.github.com/repos/andela-oduyile/borrowIt","forks_url":"https://api.github.com/repos/andela-oduyile/borrowIt/forks","keys_url":"https://api.github.com/repos/andela-oduyile/borrowIt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-oduyile/borrowIt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-oduyile/borrowIt/teams","hooks_url":"https://api.github.com/repos/andela-oduyile/borrowIt/hooks","issue_events_url":"https://api.github.com/repos/andela-oduyile/borrowIt/issues/events{/number}","events_url":"https://api.github.com/repos/andela-oduyile/borrowIt/events","assignees_url":"https://api.github.com/repos/andela-oduyile/borrowIt/assignees{/user}","branches_url":"https://api.github.com/repos/andela-oduyile/borrowIt/branches{/branch}","tags_url":"https://api.github.com/repos/andela-oduyile/borrowIt/tags","blobs_url":"https://api.github.com/repos/andela-oduyile/borrowIt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-oduyile/borrowIt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-oduyile/borrowIt/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-oduyile/borrowIt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-oduyile/borrowIt/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-oduyile/borrowIt/languages","stargazers_url":"https://api.github.com/repos/andela-oduyile/borrowIt/stargazers","contributors_url":"https://api.github.com/repos/andela-oduyile/borrowIt/contributors","subscribers_url":"https://api.github.com/repos/andela-oduyile/borrowIt/subscribers","subscription_url":"https://api.github.com/repos/andela-oduyile/borrowIt/subscription","commits_url":"https://api.github.com/repos/andela-oduyile/borrowIt/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-oduyile/borrowIt/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-oduyile/borrowIt/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-oduyile/borrowIt/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-oduyile/borrowIt/contents/{+path}","compare_url":"https://api.github.com/repos/andela-oduyile/borrowIt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-oduyile/borrowIt/merges","archive_url":"https://api.github.com/repos/andela-oduyile/borrowIt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-oduyile/borrowIt/downloads","issues_url":"https://api.github.com/repos/andela-oduyile/borrowIt/issues{/number}","pulls_url":"https://api.github.com/repos/andela-oduyile/borrowIt/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-oduyile/borrowIt/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-oduyile/borrowIt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-oduyile/borrowIt/labels{/name}","releases_url":"https://api.github.com/repos/andela-oduyile/borrowIt/releases{/id}","deployments_url":"https://api.github.com/repos/andela-oduyile/borrowIt/deployments","created_at":"2017-09-08T22:12:25Z","updated_at":"2017-09-08T22:12:55Z","pushed_at":"2017-09-09T08:58:20Z","git_url":"git://github.com/andela-oduyile/borrowIt.git","ssh_url":"git@github.com:andela-oduyile/borrowIt.git","clone_url":"https://github.com/andela-oduyile/borrowIt.git","svn_url":"https://github.com/andela-oduyile/borrowIt","homepage":null,"size":15,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":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/andela-oduyile/borrowIt/pulls/1"},"html":{"href":"https://github.com/andela-oduyile/borrowIt/pull/1"},"issue":{"href":"https://api.github.com/repos/andela-oduyile/borrowIt/issues/1"},"comments":{"href":"https://api.github.com/repos/andela-oduyile/borrowIt/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/andela-oduyile/borrowIt/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/andela-oduyile/borrowIt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela-oduyile/borrowIt/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/andela-oduyile/borrowIt/statuses/da0fdfd560cfa4f121cf4128787a7cd69ef63c4b"}},"author_association":"OWNER"}}
{"actor":{"display_login":"andela-oakinniranye"}}