{"action":"created","comment":{"url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/pulls/comments/93201456","pull_request_review_id":13722698,"id":93201456,"diff_hunk":"@@ -0,0 +1,18 @@\n+class BaseAnswersPresenter\n+  include Rails.application.routes.url_helpers\n+\n+  attr_reader :tribunal_case\n+\n+  def initialize(tribunal_case)\n+    @tribunal_case = tribunal_case\n+  end\n+\n+  private\n+\n+  def row(value, options)\n+    # `false` counts as blank, but is a valid value here so we can't use #blank?\n+    return if value.nil? || value == ''","path":"app/presenters/base_answers_presenter.rb","position":14,"original_position":14,"commit_id":"e15928dc96f0a9308081f67787a7ffa20f1ef492","original_commit_id":"e15928dc96f0a9308081f67787a7ffa20f1ef492","user":{"login":"csutter","id":72141,"avatar_url":"https://avatars.githubusercontent.com/u/72141?v=3","gravatar_id":"","url":"https://api.github.com/users/csutter","html_url":"https://github.com/csutter","followers_url":"https://api.github.com/users/csutter/followers","following_url":"https://api.github.com/users/csutter/following{/other_user}","gists_url":"https://api.github.com/users/csutter/gists{/gist_id}","starred_url":"https://api.github.com/users/csutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csutter/subscriptions","organizations_url":"https://api.github.com/users/csutter/orgs","repos_url":"https://api.github.com/users/csutter/repos","events_url":"https://api.github.com/users/csutter/events{/privacy}","received_events_url":"https://api.github.com/users/csutter/received_events","type":"User","site_admin":false},"body":"Actually I'm not 100% sure we need to avoid `#blank?` anymore – this is from when `tribunal_case.challenged_decision` was a boolean.","created_at":"2016-12-20T09:43:30Z","updated_at":"2016-12-20T09:49:48Z","html_url":"https://github.com/ministryofjustice/tax-tribunals-datacapture/pull/78#discussion_r93201456","pull_request_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/pulls/78","_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/pulls/comments/93201456"},"html":{"href":"https://github.com/ministryofjustice/tax-tribunals-datacapture/pull/78#discussion_r93201456"},"pull_request":{"href":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/pulls/78"}}},"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/pulls/78","id":98713816,"html_url":"https://github.com/ministryofjustice/tax-tribunals-datacapture/pull/78","diff_url":"https://github.com/ministryofjustice/tax-tribunals-datacapture/pull/78.diff","patch_url":"https://github.com/ministryofjustice/tax-tribunals-datacapture/pull/78.patch","issue_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/issues/78","number":78,"state":"open","locked":false,"title":"Check your answers step (summary).","user":{"login":"zheileman","id":687910,"avatar_url":"https://avatars.githubusercontent.com/u/687910?v=3","gravatar_id":"","url":"https://api.github.com/users/zheileman","html_url":"https://github.com/zheileman","followers_url":"https://api.github.com/users/zheileman/followers","following_url":"https://api.github.com/users/zheileman/following{/other_user}","gists_url":"https://api.github.com/users/zheileman/gists{/gist_id}","starred_url":"https://api.github.com/users/zheileman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zheileman/subscriptions","organizations_url":"https://api.github.com/users/zheileman/orgs","repos_url":"https://api.github.com/users/zheileman/repos","events_url":"https://api.github.com/users/zheileman/events{/privacy}","received_events_url":"https://api.github.com/users/zheileman/received_events","type":"User","site_admin":false},"body":"This PR implements most of the summary page based on the information we already have.\r\nIt will require continue to grow the page as we add more questions and journeys in the\r\ndatacapture app.\r\n\r\nOn submit it will hit the cases controller which will send the case to GLiMR and the\r\npayments app and get back a URL to redirect the user for payment.","created_at":"2016-12-20T09:34:13Z","updated_at":"2016-12-20T09:49:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"172850a0f695f617dbc7d3054d3808570a32c3ab","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/pulls/78/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/pulls/78/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/issues/78/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/statuses/e15928dc96f0a9308081f67787a7ffa20f1ef492","head":{"label":"ministryofjustice:summary-step","ref":"summary-step","sha":"e15928dc96f0a9308081f67787a7ffa20f1ef492","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":71446242,"name":"tax-tribunals-datacapture","full_name":"ministryofjustice/tax-tribunals-datacapture","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/tax-tribunals-datacapture","description":"Appeal to the Tax Tribunal","fork":false,"url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture","forks_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/forks","keys_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/events","assignees_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/merges","archive_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/deployments","created_at":"2016-10-20T09:21:34Z","updated_at":"2016-10-20T09:21:43Z","pushed_at":"2016-12-20T09:37:38Z","git_url":"git://github.com/ministryofjustice/tax-tribunals-datacapture.git","ssh_url":"git@github.com:ministryofjustice/tax-tribunals-datacapture.git","clone_url":"https://github.com/ministryofjustice/tax-tribunals-datacapture.git","svn_url":"https://github.com/ministryofjustice/tax-tribunals-datacapture","homepage":null,"size":330,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"ministryofjustice:master","ref":"master","sha":"b641f44125ab31da147704b537a4f7e45a7bddd8","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":71446242,"name":"tax-tribunals-datacapture","full_name":"ministryofjustice/tax-tribunals-datacapture","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/tax-tribunals-datacapture","description":"Appeal to the Tax Tribunal","fork":false,"url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture","forks_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/forks","keys_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/events","assignees_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/merges","archive_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/deployments","created_at":"2016-10-20T09:21:34Z","updated_at":"2016-10-20T09:21:43Z","pushed_at":"2016-12-20T09:37:38Z","git_url":"git://github.com/ministryofjustice/tax-tribunals-datacapture.git","ssh_url":"git@github.com:ministryofjustice/tax-tribunals-datacapture.git","clone_url":"https://github.com/ministryofjustice/tax-tribunals-datacapture.git","svn_url":"https://github.com/ministryofjustice/tax-tribunals-datacapture","homepage":null,"size":330,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/pulls/78"},"html":{"href":"https://github.com/ministryofjustice/tax-tribunals-datacapture/pull/78"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/issues/78"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/tax-tribunals-datacapture/statuses/e15928dc96f0a9308081f67787a7ffa20f1ef492"}}}}
{"actor":{"display_login":"csutter"}}