{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/jackaltsai/git-exercise2/pulls/2","id":191535767,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxNTM1NzY3","html_url":"https://github.com/jackaltsai/git-exercise2/pull/2","diff_url":"https://github.com/jackaltsai/git-exercise2/pull/2.diff","patch_url":"https://github.com/jackaltsai/git-exercise2/pull/2.patch","issue_url":"https://api.github.com/repos/jackaltsai/git-exercise2/issues/2","number":2,"state":"open","locked":false,"title":"Feature/user show","user":{"login":"jackaltsai","id":10894383,"node_id":"MDQ6VXNlcjEwODk0Mzgz","avatar_url":"https://avatars2.githubusercontent.com/u/10894383?v=4","gravatar_id":"","url":"https://api.github.com/users/jackaltsai","html_url":"https://github.com/jackaltsai","followers_url":"https://api.github.com/users/jackaltsai/followers","following_url":"https://api.github.com/users/jackaltsai/following{/other_user}","gists_url":"https://api.github.com/users/jackaltsai/gists{/gist_id}","starred_url":"https://api.github.com/users/jackaltsai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackaltsai/subscriptions","organizations_url":"https://api.github.com/users/jackaltsai/orgs","repos_url":"https://api.github.com/users/jackaltsai/repos","events_url":"https://api.github.com/users/jackaltsai/events{/privacy}","received_events_url":"https://api.github.com/users/jackaltsai/received_events","type":"User","site_admin":false},"body":"該程式碼可以看見 User 的個別頁面\r\n呼叫 User 的 is_admin? 方法，若方法回傳 True，印出「Admin」的字串","created_at":"2018-05-30T18:06:32Z","updated_at":"2018-05-30T18:06:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jackaltsai/git-exercise2/pulls/2/commits","review_comments_url":"https://api.github.com/repos/jackaltsai/git-exercise2/pulls/2/comments","review_comment_url":"https://api.github.com/repos/jackaltsai/git-exercise2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jackaltsai/git-exercise2/issues/2/comments","statuses_url":"https://api.github.com/repos/jackaltsai/git-exercise2/statuses/00e93ce05c23232419687550a3469399a8962c79","head":{"label":"jackaltsai:feature/user_show","ref":"feature/user_show","sha":"00e93ce05c23232419687550a3469399a8962c79","user":{"login":"jackaltsai","id":10894383,"node_id":"MDQ6VXNlcjEwODk0Mzgz","avatar_url":"https://avatars2.githubusercontent.com/u/10894383?v=4","gravatar_id":"","url":"https://api.github.com/users/jackaltsai","html_url":"https://github.com/jackaltsai","followers_url":"https://api.github.com/users/jackaltsai/followers","following_url":"https://api.github.com/users/jackaltsai/following{/other_user}","gists_url":"https://api.github.com/users/jackaltsai/gists{/gist_id}","starred_url":"https://api.github.com/users/jackaltsai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackaltsai/subscriptions","organizations_url":"https://api.github.com/users/jackaltsai/orgs","repos_url":"https://api.github.com/users/jackaltsai/repos","events_url":"https://api.github.com/users/jackaltsai/events{/privacy}","received_events_url":"https://api.github.com/users/jackaltsai/received_events","type":"User","site_admin":false},"repo":{"id":135429866,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU0Mjk4NjY=","name":"git-exercise2","full_name":"jackaltsai/git-exercise2","owner":{"login":"jackaltsai","id":10894383,"node_id":"MDQ6VXNlcjEwODk0Mzgz","avatar_url":"https://avatars2.githubusercontent.com/u/10894383?v=4","gravatar_id":"","url":"https://api.github.com/users/jackaltsai","html_url":"https://github.com/jackaltsai","followers_url":"https://api.github.com/users/jackaltsai/followers","following_url":"https://api.github.com/users/jackaltsai/following{/other_user}","gists_url":"https://api.github.com/users/jackaltsai/gists{/gist_id}","starred_url":"https://api.github.com/users/jackaltsai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackaltsai/subscriptions","organizations_url":"https://api.github.com/users/jackaltsai/orgs","repos_url":"https://api.github.com/users/jackaltsai/repos","events_url":"https://api.github.com/users/jackaltsai/events{/privacy}","received_events_url":"https://api.github.com/users/jackaltsai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jackaltsai/git-exercise2","description":null,"fork":false,"url":"https://api.github.com/repos/jackaltsai/git-exercise2","forks_url":"https://api.github.com/repos/jackaltsai/git-exercise2/forks","keys_url":"https://api.github.com/repos/jackaltsai/git-exercise2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jackaltsai/git-exercise2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jackaltsai/git-exercise2/teams","hooks_url":"https://api.github.com/repos/jackaltsai/git-exercise2/hooks","issue_events_url":"https://api.github.com/repos/jackaltsai/git-exercise2/issues/events{/number}","events_url":"https://api.github.com/repos/jackaltsai/git-exercise2/events","assignees_url":"https://api.github.com/repos/jackaltsai/git-exercise2/assignees{/user}","branches_url":"https://api.github.com/repos/jackaltsai/git-exercise2/branches{/branch}","tags_url":"https://api.github.com/repos/jackaltsai/git-exercise2/tags","blobs_url":"https://api.github.com/repos/jackaltsai/git-exercise2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jackaltsai/git-exercise2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jackaltsai/git-exercise2/git/refs{/sha}","trees_url":"https://api.github.com/repos/jackaltsai/git-exercise2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jackaltsai/git-exercise2/statuses/{sha}","languages_url":"https://api.github.com/repos/jackaltsai/git-exercise2/languages","stargazers_url":"https://api.github.com/repos/jackaltsai/git-exercise2/stargazers","contributors_url":"https://api.github.com/repos/jackaltsai/git-exercise2/contributors","subscribers_url":"https://api.github.com/repos/jackaltsai/git-exercise2/subscribers","subscription_url":"https://api.github.com/repos/jackaltsai/git-exercise2/subscription","commits_url":"https://api.github.com/repos/jackaltsai/git-exercise2/commits{/sha}","git_commits_url":"https://api.github.com/repos/jackaltsai/git-exercise2/git/commits{/sha}","comments_url":"https://api.github.com/repos/jackaltsai/git-exercise2/comments{/number}","issue_comment_url":"https://api.github.com/repos/jackaltsai/git-exercise2/issues/comments{/number}","contents_url":"https://api.github.com/repos/jackaltsai/git-exercise2/contents/{+path}","compare_url":"https://api.github.com/repos/jackaltsai/git-exercise2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jackaltsai/git-exercise2/merges","archive_url":"https://api.github.com/repos/jackaltsai/git-exercise2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jackaltsai/git-exercise2/downloads","issues_url":"https://api.github.com/repos/jackaltsai/git-exercise2/issues{/number}","pulls_url":"https://api.github.com/repos/jackaltsai/git-exercise2/pulls{/number}","milestones_url":"https://api.github.com/repos/jackaltsai/git-exercise2/milestones{/number}","notifications_url":"https://api.github.com/repos/jackaltsai/git-exercise2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jackaltsai/git-exercise2/labels{/name}","releases_url":"https://api.github.com/repos/jackaltsai/git-exercise2/releases{/id}","deployments_url":"https://api.github.com/repos/jackaltsai/git-exercise2/deployments","created_at":"2018-05-30T10:58:08Z","updated_at":"2018-05-30T12:52:36Z","pushed_at":"2018-05-30T18:02:57Z","git_url":"git://github.com/jackaltsai/git-exercise2.git","ssh_url":"git@github.com:jackaltsai/git-exercise2.git","clone_url":"https://github.com/jackaltsai/git-exercise2.git","svn_url":"https://github.com/jackaltsai/git-exercise2","homepage":null,"size":29,"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,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"jackaltsai:master","ref":"master","sha":"1dc4a7d420721a934cb6315afcc6001bf8647aeb","user":{"login":"jackaltsai","id":10894383,"node_id":"MDQ6VXNlcjEwODk0Mzgz","avatar_url":"https://avatars2.githubusercontent.com/u/10894383?v=4","gravatar_id":"","url":"https://api.github.com/users/jackaltsai","html_url":"https://github.com/jackaltsai","followers_url":"https://api.github.com/users/jackaltsai/followers","following_url":"https://api.github.com/users/jackaltsai/following{/other_user}","gists_url":"https://api.github.com/users/jackaltsai/gists{/gist_id}","starred_url":"https://api.github.com/users/jackaltsai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackaltsai/subscriptions","organizations_url":"https://api.github.com/users/jackaltsai/orgs","repos_url":"https://api.github.com/users/jackaltsai/repos","events_url":"https://api.github.com/users/jackaltsai/events{/privacy}","received_events_url":"https://api.github.com/users/jackaltsai/received_events","type":"User","site_admin":false},"repo":{"id":135429866,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU0Mjk4NjY=","name":"git-exercise2","full_name":"jackaltsai/git-exercise2","owner":{"login":"jackaltsai","id":10894383,"node_id":"MDQ6VXNlcjEwODk0Mzgz","avatar_url":"https://avatars2.githubusercontent.com/u/10894383?v=4","gravatar_id":"","url":"https://api.github.com/users/jackaltsai","html_url":"https://github.com/jackaltsai","followers_url":"https://api.github.com/users/jackaltsai/followers","following_url":"https://api.github.com/users/jackaltsai/following{/other_user}","gists_url":"https://api.github.com/users/jackaltsai/gists{/gist_id}","starred_url":"https://api.github.com/users/jackaltsai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackaltsai/subscriptions","organizations_url":"https://api.github.com/users/jackaltsai/orgs","repos_url":"https://api.github.com/users/jackaltsai/repos","events_url":"https://api.github.com/users/jackaltsai/events{/privacy}","received_events_url":"https://api.github.com/users/jackaltsai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jackaltsai/git-exercise2","description":null,"fork":false,"url":"https://api.github.com/repos/jackaltsai/git-exercise2","forks_url":"https://api.github.com/repos/jackaltsai/git-exercise2/forks","keys_url":"https://api.github.com/repos/jackaltsai/git-exercise2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jackaltsai/git-exercise2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jackaltsai/git-exercise2/teams","hooks_url":"https://api.github.com/repos/jackaltsai/git-exercise2/hooks","issue_events_url":"https://api.github.com/repos/jackaltsai/git-exercise2/issues/events{/number}","events_url":"https://api.github.com/repos/jackaltsai/git-exercise2/events","assignees_url":"https://api.github.com/repos/jackaltsai/git-exercise2/assignees{/user}","branches_url":"https://api.github.com/repos/jackaltsai/git-exercise2/branches{/branch}","tags_url":"https://api.github.com/repos/jackaltsai/git-exercise2/tags","blobs_url":"https://api.github.com/repos/jackaltsai/git-exercise2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jackaltsai/git-exercise2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jackaltsai/git-exercise2/git/refs{/sha}","trees_url":"https://api.github.com/repos/jackaltsai/git-exercise2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jackaltsai/git-exercise2/statuses/{sha}","languages_url":"https://api.github.com/repos/jackaltsai/git-exercise2/languages","stargazers_url":"https://api.github.com/repos/jackaltsai/git-exercise2/stargazers","contributors_url":"https://api.github.com/repos/jackaltsai/git-exercise2/contributors","subscribers_url":"https://api.github.com/repos/jackaltsai/git-exercise2/subscribers","subscription_url":"https://api.github.com/repos/jackaltsai/git-exercise2/subscription","commits_url":"https://api.github.com/repos/jackaltsai/git-exercise2/commits{/sha}","git_commits_url":"https://api.github.com/repos/jackaltsai/git-exercise2/git/commits{/sha}","comments_url":"https://api.github.com/repos/jackaltsai/git-exercise2/comments{/number}","issue_comment_url":"https://api.github.com/repos/jackaltsai/git-exercise2/issues/comments{/number}","contents_url":"https://api.github.com/repos/jackaltsai/git-exercise2/contents/{+path}","compare_url":"https://api.github.com/repos/jackaltsai/git-exercise2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jackaltsai/git-exercise2/merges","archive_url":"https://api.github.com/repos/jackaltsai/git-exercise2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jackaltsai/git-exercise2/downloads","issues_url":"https://api.github.com/repos/jackaltsai/git-exercise2/issues{/number}","pulls_url":"https://api.github.com/repos/jackaltsai/git-exercise2/pulls{/number}","milestones_url":"https://api.github.com/repos/jackaltsai/git-exercise2/milestones{/number}","notifications_url":"https://api.github.com/repos/jackaltsai/git-exercise2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jackaltsai/git-exercise2/labels{/name}","releases_url":"https://api.github.com/repos/jackaltsai/git-exercise2/releases{/id}","deployments_url":"https://api.github.com/repos/jackaltsai/git-exercise2/deployments","created_at":"2018-05-30T10:58:08Z","updated_at":"2018-05-30T12:52:36Z","pushed_at":"2018-05-30T18:02:57Z","git_url":"git://github.com/jackaltsai/git-exercise2.git","ssh_url":"git@github.com:jackaltsai/git-exercise2.git","clone_url":"https://github.com/jackaltsai/git-exercise2.git","svn_url":"https://github.com/jackaltsai/git-exercise2","homepage":null,"size":29,"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,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jackaltsai/git-exercise2/pulls/2"},"html":{"href":"https://github.com/jackaltsai/git-exercise2/pull/2"},"issue":{"href":"https://api.github.com/repos/jackaltsai/git-exercise2/issues/2"},"comments":{"href":"https://api.github.com/repos/jackaltsai/git-exercise2/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/jackaltsai/git-exercise2/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/jackaltsai/git-exercise2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jackaltsai/git-exercise2/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/jackaltsai/git-exercise2/statuses/00e93ce05c23232419687550a3469399a8962c79"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":5,"additions":33,"deletions":0,"changed_files":8}}
{"actor":{"display_login":"jackaltsai"}}