{"action":"created","comment":{"url":"https://api.github.com/repos/protospace-21-teamE/booklog/pulls/comments/173615543","pull_request_review_id":102844223,"id":173615543,"diff_hunk":"@@ -1,2 +1,19 @@\n module ApplicationHelper\n+\n+  def image_url(book)\n+    if book.image.present?","path":"app/helpers/application_helper.rb","position":4,"original_position":4,"commit_id":"c56ecb8b739555321bdf525b29b6367d4a0f467b","original_commit_id":"c56ecb8b739555321bdf525b29b6367d4a0f467b","user":{"login":"aaing","id":25877383,"avatar_url":"https://avatars1.githubusercontent.com/u/25877383?v=4","gravatar_id":"","url":"https://api.github.com/users/aaing","html_url":"https://github.com/aaing","followers_url":"https://api.github.com/users/aaing/followers","following_url":"https://api.github.com/users/aaing/following{/other_user}","gists_url":"https://api.github.com/users/aaing/gists{/gist_id}","starred_url":"https://api.github.com/users/aaing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaing/subscriptions","organizations_url":"https://api.github.com/users/aaing/orgs","repos_url":"https://api.github.com/users/aaing/repos","events_url":"https://api.github.com/users/aaing/events{/privacy}","received_events_url":"https://api.github.com/users/aaing/received_events","type":"User","site_admin":false},"body":"三項演算子を用いた記述しました。","created_at":"2018-03-10T08:10:44Z","updated_at":"2018-03-10T08:10:44Z","html_url":"https://github.com/protospace-21-teamE/booklog/pull/9#discussion_r173615543","pull_request_url":"https://api.github.com/repos/protospace-21-teamE/booklog/pulls/9","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/protospace-21-teamE/booklog/pulls/comments/173615543"},"html":{"href":"https://github.com/protospace-21-teamE/booklog/pull/9#discussion_r173615543"},"pull_request":{"href":"https://api.github.com/repos/protospace-21-teamE/booklog/pulls/9"}},"in_reply_to_id":173615335},"pull_request":{"url":"https://api.github.com/repos/protospace-21-teamE/booklog/pulls/9","id":174156186,"html_url":"https://github.com/protospace-21-teamE/booklog/pull/9","diff_url":"https://github.com/protospace-21-teamE/booklog/pull/9.diff","patch_url":"https://github.com/protospace-21-teamE/booklog/pull/9.patch","issue_url":"https://api.github.com/repos/protospace-21-teamE/booklog/issues/9","number":9,"state":"open","locked":false,"title":"Implement archive book function","user":{"login":"aaing","id":25877383,"avatar_url":"https://avatars1.githubusercontent.com/u/25877383?v=4","gravatar_id":"","url":"https://api.github.com/users/aaing","html_url":"https://github.com/aaing","followers_url":"https://api.github.com/users/aaing/followers","following_url":"https://api.github.com/users/aaing/following{/other_user}","gists_url":"https://api.github.com/users/aaing/gists{/gist_id}","starred_url":"https://api.github.com/users/aaing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaing/subscriptions","organizations_url":"https://api.github.com/users/aaing/orgs","repos_url":"https://api.github.com/users/aaing/repos","events_url":"https://api.github.com/users/aaing/events{/privacy}","received_events_url":"https://api.github.com/users/aaing/received_events","type":"User","site_admin":false},"body":"#WHAT\nto implement archive book function \n\n#WHY\narchive book function is needed","created_at":"2018-03-10T06:14:49Z","updated_at":"2018-03-10T08:10:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"39dae0c929df81505f1f71dccca97c893df69141","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/protospace-21-teamE/booklog/pulls/9/commits","review_comments_url":"https://api.github.com/repos/protospace-21-teamE/booklog/pulls/9/comments","review_comment_url":"https://api.github.com/repos/protospace-21-teamE/booklog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/protospace-21-teamE/booklog/issues/9/comments","statuses_url":"https://api.github.com/repos/protospace-21-teamE/booklog/statuses/c56ecb8b739555321bdf525b29b6367d4a0f467b","head":{"label":"protospace-21-teamE:implement-create-book-function","ref":"implement-create-book-function","sha":"c56ecb8b739555321bdf525b29b6367d4a0f467b","user":{"login":"protospace-21-teamE","id":35942981,"avatar_url":"https://avatars3.githubusercontent.com/u/35942981?v=4","gravatar_id":"","url":"https://api.github.com/users/protospace-21-teamE","html_url":"https://github.com/protospace-21-teamE","followers_url":"https://api.github.com/users/protospace-21-teamE/followers","following_url":"https://api.github.com/users/protospace-21-teamE/following{/other_user}","gists_url":"https://api.github.com/users/protospace-21-teamE/gists{/gist_id}","starred_url":"https://api.github.com/users/protospace-21-teamE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/protospace-21-teamE/subscriptions","organizations_url":"https://api.github.com/users/protospace-21-teamE/orgs","repos_url":"https://api.github.com/users/protospace-21-teamE/repos","events_url":"https://api.github.com/users/protospace-21-teamE/events{/privacy}","received_events_url":"https://api.github.com/users/protospace-21-teamE/received_events","type":"Organization","site_admin":false},"repo":{"id":122180944,"name":"booklog","full_name":"protospace-21-teamE/booklog","owner":{"login":"protospace-21-teamE","id":35942981,"avatar_url":"https://avatars3.githubusercontent.com/u/35942981?v=4","gravatar_id":"","url":"https://api.github.com/users/protospace-21-teamE","html_url":"https://github.com/protospace-21-teamE","followers_url":"https://api.github.com/users/protospace-21-teamE/followers","following_url":"https://api.github.com/users/protospace-21-teamE/following{/other_user}","gists_url":"https://api.github.com/users/protospace-21-teamE/gists{/gist_id}","starred_url":"https://api.github.com/users/protospace-21-teamE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/protospace-21-teamE/subscriptions","organizations_url":"https://api.github.com/users/protospace-21-teamE/orgs","repos_url":"https://api.github.com/users/protospace-21-teamE/repos","events_url":"https://api.github.com/users/protospace-21-teamE/events{/privacy}","received_events_url":"https://api.github.com/users/protospace-21-teamE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/protospace-21-teamE/booklog","description":"coping ブクログ from:","fork":false,"url":"https://api.github.com/repos/protospace-21-teamE/booklog","forks_url":"https://api.github.com/repos/protospace-21-teamE/booklog/forks","keys_url":"https://api.github.com/repos/protospace-21-teamE/booklog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/protospace-21-teamE/booklog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/protospace-21-teamE/booklog/teams","hooks_url":"https://api.github.com/repos/protospace-21-teamE/booklog/hooks","issue_events_url":"https://api.github.com/repos/protospace-21-teamE/booklog/issues/events{/number}","events_url":"https://api.github.com/repos/protospace-21-teamE/booklog/events","assignees_url":"https://api.github.com/repos/protospace-21-teamE/booklog/assignees{/user}","branches_url":"https://api.github.com/repos/protospace-21-teamE/booklog/branches{/branch}","tags_url":"https://api.github.com/repos/protospace-21-teamE/booklog/tags","blobs_url":"https://api.github.com/repos/protospace-21-teamE/booklog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/protospace-21-teamE/booklog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/protospace-21-teamE/booklog/git/refs{/sha}","trees_url":"https://api.github.com/repos/protospace-21-teamE/booklog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/protospace-21-teamE/booklog/statuses/{sha}","languages_url":"https://api.github.com/repos/protospace-21-teamE/booklog/languages","stargazers_url":"https://api.github.com/repos/protospace-21-teamE/booklog/stargazers","contributors_url":"https://api.github.com/repos/protospace-21-teamE/booklog/contributors","subscribers_url":"https://api.github.com/repos/protospace-21-teamE/booklog/subscribers","subscription_url":"https://api.github.com/repos/protospace-21-teamE/booklog/subscription","commits_url":"https://api.github.com/repos/protospace-21-teamE/booklog/commits{/sha}","git_commits_url":"https://api.github.com/repos/protospace-21-teamE/booklog/git/commits{/sha}","comments_url":"https://api.github.com/repos/protospace-21-teamE/booklog/comments{/number}","issue_comment_url":"https://api.github.com/repos/protospace-21-teamE/booklog/issues/comments{/number}","contents_url":"https://api.github.com/repos/protospace-21-teamE/booklog/contents/{+path}","compare_url":"https://api.github.com/repos/protospace-21-teamE/booklog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/protospace-21-teamE/booklog/merges","archive_url":"https://api.github.com/repos/protospace-21-teamE/booklog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/protospace-21-teamE/booklog/downloads","issues_url":"https://api.github.com/repos/protospace-21-teamE/booklog/issues{/number}","pulls_url":"https://api.github.com/repos/protospace-21-teamE/booklog/pulls{/number}","milestones_url":"https://api.github.com/repos/protospace-21-teamE/booklog/milestones{/number}","notifications_url":"https://api.github.com/repos/protospace-21-teamE/booklog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/protospace-21-teamE/booklog/labels{/name}","releases_url":"https://api.github.com/repos/protospace-21-teamE/booklog/releases{/id}","deployments_url":"https://api.github.com/repos/protospace-21-teamE/booklog/deployments","created_at":"2018-02-20T09:58:05Z","updated_at":"2018-02-21T08:48:07Z","pushed_at":"2018-03-10T07:14:09Z","git_url":"git://github.com/protospace-21-teamE/booklog.git","ssh_url":"git@github.com:protospace-21-teamE/booklog.git","clone_url":"https://github.com/protospace-21-teamE/booklog.git","svn_url":"https://github.com/protospace-21-teamE/booklog","homepage":"https://booklog.jp","size":1085,"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":"protospace-21-teamE:master","ref":"master","sha":"d58ded42350924b26bb4098e4dc4566e85251d92","user":{"login":"protospace-21-teamE","id":35942981,"avatar_url":"https://avatars3.githubusercontent.com/u/35942981?v=4","gravatar_id":"","url":"https://api.github.com/users/protospace-21-teamE","html_url":"https://github.com/protospace-21-teamE","followers_url":"https://api.github.com/users/protospace-21-teamE/followers","following_url":"https://api.github.com/users/protospace-21-teamE/following{/other_user}","gists_url":"https://api.github.com/users/protospace-21-teamE/gists{/gist_id}","starred_url":"https://api.github.com/users/protospace-21-teamE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/protospace-21-teamE/subscriptions","organizations_url":"https://api.github.com/users/protospace-21-teamE/orgs","repos_url":"https://api.github.com/users/protospace-21-teamE/repos","events_url":"https://api.github.com/users/protospace-21-teamE/events{/privacy}","received_events_url":"https://api.github.com/users/protospace-21-teamE/received_events","type":"Organization","site_admin":false},"repo":{"id":122180944,"name":"booklog","full_name":"protospace-21-teamE/booklog","owner":{"login":"protospace-21-teamE","id":35942981,"avatar_url":"https://avatars3.githubusercontent.com/u/35942981?v=4","gravatar_id":"","url":"https://api.github.com/users/protospace-21-teamE","html_url":"https://github.com/protospace-21-teamE","followers_url":"https://api.github.com/users/protospace-21-teamE/followers","following_url":"https://api.github.com/users/protospace-21-teamE/following{/other_user}","gists_url":"https://api.github.com/users/protospace-21-teamE/gists{/gist_id}","starred_url":"https://api.github.com/users/protospace-21-teamE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/protospace-21-teamE/subscriptions","organizations_url":"https://api.github.com/users/protospace-21-teamE/orgs","repos_url":"https://api.github.com/users/protospace-21-teamE/repos","events_url":"https://api.github.com/users/protospace-21-teamE/events{/privacy}","received_events_url":"https://api.github.com/users/protospace-21-teamE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/protospace-21-teamE/booklog","description":"coping ブクログ from:","fork":false,"url":"https://api.github.com/repos/protospace-21-teamE/booklog","forks_url":"https://api.github.com/repos/protospace-21-teamE/booklog/forks","keys_url":"https://api.github.com/repos/protospace-21-teamE/booklog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/protospace-21-teamE/booklog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/protospace-21-teamE/booklog/teams","hooks_url":"https://api.github.com/repos/protospace-21-teamE/booklog/hooks","issue_events_url":"https://api.github.com/repos/protospace-21-teamE/booklog/issues/events{/number}","events_url":"https://api.github.com/repos/protospace-21-teamE/booklog/events","assignees_url":"https://api.github.com/repos/protospace-21-teamE/booklog/assignees{/user}","branches_url":"https://api.github.com/repos/protospace-21-teamE/booklog/branches{/branch}","tags_url":"https://api.github.com/repos/protospace-21-teamE/booklog/tags","blobs_url":"https://api.github.com/repos/protospace-21-teamE/booklog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/protospace-21-teamE/booklog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/protospace-21-teamE/booklog/git/refs{/sha}","trees_url":"https://api.github.com/repos/protospace-21-teamE/booklog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/protospace-21-teamE/booklog/statuses/{sha}","languages_url":"https://api.github.com/repos/protospace-21-teamE/booklog/languages","stargazers_url":"https://api.github.com/repos/protospace-21-teamE/booklog/stargazers","contributors_url":"https://api.github.com/repos/protospace-21-teamE/booklog/contributors","subscribers_url":"https://api.github.com/repos/protospace-21-teamE/booklog/subscribers","subscription_url":"https://api.github.com/repos/protospace-21-teamE/booklog/subscription","commits_url":"https://api.github.com/repos/protospace-21-teamE/booklog/commits{/sha}","git_commits_url":"https://api.github.com/repos/protospace-21-teamE/booklog/git/commits{/sha}","comments_url":"https://api.github.com/repos/protospace-21-teamE/booklog/comments{/number}","issue_comment_url":"https://api.github.com/repos/protospace-21-teamE/booklog/issues/comments{/number}","contents_url":"https://api.github.com/repos/protospace-21-teamE/booklog/contents/{+path}","compare_url":"https://api.github.com/repos/protospace-21-teamE/booklog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/protospace-21-teamE/booklog/merges","archive_url":"https://api.github.com/repos/protospace-21-teamE/booklog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/protospace-21-teamE/booklog/downloads","issues_url":"https://api.github.com/repos/protospace-21-teamE/booklog/issues{/number}","pulls_url":"https://api.github.com/repos/protospace-21-teamE/booklog/pulls{/number}","milestones_url":"https://api.github.com/repos/protospace-21-teamE/booklog/milestones{/number}","notifications_url":"https://api.github.com/repos/protospace-21-teamE/booklog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/protospace-21-teamE/booklog/labels{/name}","releases_url":"https://api.github.com/repos/protospace-21-teamE/booklog/releases{/id}","deployments_url":"https://api.github.com/repos/protospace-21-teamE/booklog/deployments","created_at":"2018-02-20T09:58:05Z","updated_at":"2018-02-21T08:48:07Z","pushed_at":"2018-03-10T07:14:09Z","git_url":"git://github.com/protospace-21-teamE/booklog.git","ssh_url":"git@github.com:protospace-21-teamE/booklog.git","clone_url":"https://github.com/protospace-21-teamE/booklog.git","svn_url":"https://github.com/protospace-21-teamE/booklog","homepage":"https://booklog.jp","size":1085,"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/protospace-21-teamE/booklog/pulls/9"},"html":{"href":"https://github.com/protospace-21-teamE/booklog/pull/9"},"issue":{"href":"https://api.github.com/repos/protospace-21-teamE/booklog/issues/9"},"comments":{"href":"https://api.github.com/repos/protospace-21-teamE/booklog/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/protospace-21-teamE/booklog/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/protospace-21-teamE/booklog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/protospace-21-teamE/booklog/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/protospace-21-teamE/booklog/statuses/c56ecb8b739555321bdf525b29b6367d4a0f467b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"aaing"}}