{"action":"created","comment":{"url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/pulls/comments/222751476","pull_request_review_id":161714731,"id":222751476,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjc1MTQ3Ng==","diff_hunk":"@@ -2,24 +2,27 @@\n \n class DashboardController < ApplicationController\n   before_action :authenticate_user!\n+  Dashboard = Struct.new(:number_of_flaws_type, :type_of_flaws, :detected_flaws, :number_of_analysis, :number_of_analysis_pending, :number_of_analysis_completed, :analyses)\n \n   # TODO: Add scopes\n   # TODO Change variables names\n   # TODO Use struct","path":"app/controllers/dashboard_controller.rb","position":8,"original_position":8,"commit_id":"89f3db07c5c517a967f65202e3cc11cd9d0a1908","original_commit_id":"89f3db07c5c517a967f65202e3cc11cd9d0a1908","user":{"login":"HugoLiconV","id":22970186,"node_id":"MDQ6VXNlcjIyOTcwMTg2","avatar_url":"https://avatars0.githubusercontent.com/u/22970186?v=4","gravatar_id":"","url":"https://api.github.com/users/HugoLiconV","html_url":"https://github.com/HugoLiconV","followers_url":"https://api.github.com/users/HugoLiconV/followers","following_url":"https://api.github.com/users/HugoLiconV/following{/other_user}","gists_url":"https://api.github.com/users/HugoLiconV/gists{/gist_id}","starred_url":"https://api.github.com/users/HugoLiconV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HugoLiconV/subscriptions","organizations_url":"https://api.github.com/users/HugoLiconV/orgs","repos_url":"https://api.github.com/users/HugoLiconV/repos","events_url":"https://api.github.com/users/HugoLiconV/events{/privacy}","received_events_url":"https://api.github.com/users/HugoLiconV/received_events","type":"User","site_admin":false},"body":"Delete the comments ","created_at":"2018-10-04T17:02:48Z","updated_at":"2018-10-04T17:03:19Z","html_url":"https://github.com/gmotzespina/VulnerabilityScanner/pull/26#discussion_r222751476","pull_request_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/pulls/26","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/pulls/comments/222751476"},"html":{"href":"https://github.com/gmotzespina/VulnerabilityScanner/pull/26#discussion_r222751476"},"pull_request":{"href":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/pulls/26","id":220447717,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwNDQ3NzE3","html_url":"https://github.com/gmotzespina/VulnerabilityScanner/pull/26","diff_url":"https://github.com/gmotzespina/VulnerabilityScanner/pull/26.diff","patch_url":"https://github.com/gmotzespina/VulnerabilityScanner/pull/26.patch","issue_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/issues/26","number":26,"state":"open","locked":false,"title":"Refactor with struct on dashboard controller.","user":{"login":"borregore","id":42614659,"node_id":"MDQ6VXNlcjQyNjE0NjU5","avatar_url":"https://avatars0.githubusercontent.com/u/42614659?v=4","gravatar_id":"","url":"https://api.github.com/users/borregore","html_url":"https://github.com/borregore","followers_url":"https://api.github.com/users/borregore/followers","following_url":"https://api.github.com/users/borregore/following{/other_user}","gists_url":"https://api.github.com/users/borregore/gists{/gist_id}","starred_url":"https://api.github.com/users/borregore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borregore/subscriptions","organizations_url":"https://api.github.com/users/borregore/orgs","repos_url":"https://api.github.com/users/borregore/repos","events_url":"https://api.github.com/users/borregore/events{/privacy}","received_events_url":"https://api.github.com/users/borregore/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-04T16:52:28Z","updated_at":"2018-10-04T17:03:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9a7c29f206b67c7179f80ef36065df50c3a11fe7","assignee":null,"assignees":[],"requested_reviewers":[{"login":"gmotzespina","id":9021886,"node_id":"MDQ6VXNlcjkwMjE4ODY=","avatar_url":"https://avatars0.githubusercontent.com/u/9021886?v=4","gravatar_id":"","url":"https://api.github.com/users/gmotzespina","html_url":"https://github.com/gmotzespina","followers_url":"https://api.github.com/users/gmotzespina/followers","following_url":"https://api.github.com/users/gmotzespina/following{/other_user}","gists_url":"https://api.github.com/users/gmotzespina/gists{/gist_id}","starred_url":"https://api.github.com/users/gmotzespina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmotzespina/subscriptions","organizations_url":"https://api.github.com/users/gmotzespina/orgs","repos_url":"https://api.github.com/users/gmotzespina/repos","events_url":"https://api.github.com/users/gmotzespina/events{/privacy}","received_events_url":"https://api.github.com/users/gmotzespina/received_events","type":"User","site_admin":false},{"login":"fcalderonnearsoft","id":17256207,"node_id":"MDQ6VXNlcjE3MjU2MjA3","avatar_url":"https://avatars0.githubusercontent.com/u/17256207?v=4","gravatar_id":"","url":"https://api.github.com/users/fcalderonnearsoft","html_url":"https://github.com/fcalderonnearsoft","followers_url":"https://api.github.com/users/fcalderonnearsoft/followers","following_url":"https://api.github.com/users/fcalderonnearsoft/following{/other_user}","gists_url":"https://api.github.com/users/fcalderonnearsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/fcalderonnearsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fcalderonnearsoft/subscriptions","organizations_url":"https://api.github.com/users/fcalderonnearsoft/orgs","repos_url":"https://api.github.com/users/fcalderonnearsoft/repos","events_url":"https://api.github.com/users/fcalderonnearsoft/events{/privacy}","received_events_url":"https://api.github.com/users/fcalderonnearsoft/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/pulls/26/commits","review_comments_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/pulls/26/comments","review_comment_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/issues/26/comments","statuses_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/statuses/89f3db07c5c517a967f65202e3cc11cd9d0a1908","head":{"label":"gmotzespina:Refactor/Struct","ref":"Refactor/Struct","sha":"89f3db07c5c517a967f65202e3cc11cd9d0a1908","user":{"login":"gmotzespina","id":9021886,"node_id":"MDQ6VXNlcjkwMjE4ODY=","avatar_url":"https://avatars0.githubusercontent.com/u/9021886?v=4","gravatar_id":"","url":"https://api.github.com/users/gmotzespina","html_url":"https://github.com/gmotzespina","followers_url":"https://api.github.com/users/gmotzespina/followers","following_url":"https://api.github.com/users/gmotzespina/following{/other_user}","gists_url":"https://api.github.com/users/gmotzespina/gists{/gist_id}","starred_url":"https://api.github.com/users/gmotzespina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmotzespina/subscriptions","organizations_url":"https://api.github.com/users/gmotzespina/orgs","repos_url":"https://api.github.com/users/gmotzespina/repos","events_url":"https://api.github.com/users/gmotzespina/events{/privacy}","received_events_url":"https://api.github.com/users/gmotzespina/received_events","type":"User","site_admin":false},"repo":{"id":150469837,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA0Njk4Mzc=","name":"VulnerabilityScanner","full_name":"gmotzespina/VulnerabilityScanner","private":false,"owner":{"login":"gmotzespina","id":9021886,"node_id":"MDQ6VXNlcjkwMjE4ODY=","avatar_url":"https://avatars0.githubusercontent.com/u/9021886?v=4","gravatar_id":"","url":"https://api.github.com/users/gmotzespina","html_url":"https://github.com/gmotzespina","followers_url":"https://api.github.com/users/gmotzespina/followers","following_url":"https://api.github.com/users/gmotzespina/following{/other_user}","gists_url":"https://api.github.com/users/gmotzespina/gists{/gist_id}","starred_url":"https://api.github.com/users/gmotzespina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmotzespina/subscriptions","organizations_url":"https://api.github.com/users/gmotzespina/orgs","repos_url":"https://api.github.com/users/gmotzespina/repos","events_url":"https://api.github.com/users/gmotzespina/events{/privacy}","received_events_url":"https://api.github.com/users/gmotzespina/received_events","type":"User","site_admin":false},"html_url":"https://github.com/gmotzespina/VulnerabilityScanner","description":null,"fork":false,"url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner","forks_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/forks","keys_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/teams","hooks_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/hooks","issue_events_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/issues/events{/number}","events_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/events","assignees_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/assignees{/user}","branches_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/branches{/branch}","tags_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/tags","blobs_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/git/refs{/sha}","trees_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/statuses/{sha}","languages_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/languages","stargazers_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/stargazers","contributors_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/contributors","subscribers_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/subscribers","subscription_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/subscription","commits_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/commits{/sha}","git_commits_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/git/commits{/sha}","comments_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/comments{/number}","issue_comment_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/issues/comments{/number}","contents_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/contents/{+path}","compare_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/merges","archive_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/downloads","issues_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/issues{/number}","pulls_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/pulls{/number}","milestones_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/milestones{/number}","notifications_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/labels{/name}","releases_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/releases{/id}","deployments_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/deployments","created_at":"2018-09-26T18:11:27Z","updated_at":"2018-10-04T02:19:08Z","pushed_at":"2018-10-04T16:52:28Z","git_url":"git://github.com/gmotzespina/VulnerabilityScanner.git","ssh_url":"git@github.com:gmotzespina/VulnerabilityScanner.git","clone_url":"https://github.com/gmotzespina/VulnerabilityScanner.git","svn_url":"https://github.com/gmotzespina/VulnerabilityScanner","homepage":null,"size":757,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":4,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"gmotzespina:master","ref":"master","sha":"431b157d10be368cb9605f91a172700f7247a251","user":{"login":"gmotzespina","id":9021886,"node_id":"MDQ6VXNlcjkwMjE4ODY=","avatar_url":"https://avatars0.githubusercontent.com/u/9021886?v=4","gravatar_id":"","url":"https://api.github.com/users/gmotzespina","html_url":"https://github.com/gmotzespina","followers_url":"https://api.github.com/users/gmotzespina/followers","following_url":"https://api.github.com/users/gmotzespina/following{/other_user}","gists_url":"https://api.github.com/users/gmotzespina/gists{/gist_id}","starred_url":"https://api.github.com/users/gmotzespina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmotzespina/subscriptions","organizations_url":"https://api.github.com/users/gmotzespina/orgs","repos_url":"https://api.github.com/users/gmotzespina/repos","events_url":"https://api.github.com/users/gmotzespina/events{/privacy}","received_events_url":"https://api.github.com/users/gmotzespina/received_events","type":"User","site_admin":false},"repo":{"id":150469837,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA0Njk4Mzc=","name":"VulnerabilityScanner","full_name":"gmotzespina/VulnerabilityScanner","private":false,"owner":{"login":"gmotzespina","id":9021886,"node_id":"MDQ6VXNlcjkwMjE4ODY=","avatar_url":"https://avatars0.githubusercontent.com/u/9021886?v=4","gravatar_id":"","url":"https://api.github.com/users/gmotzespina","html_url":"https://github.com/gmotzespina","followers_url":"https://api.github.com/users/gmotzespina/followers","following_url":"https://api.github.com/users/gmotzespina/following{/other_user}","gists_url":"https://api.github.com/users/gmotzespina/gists{/gist_id}","starred_url":"https://api.github.com/users/gmotzespina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmotzespina/subscriptions","organizations_url":"https://api.github.com/users/gmotzespina/orgs","repos_url":"https://api.github.com/users/gmotzespina/repos","events_url":"https://api.github.com/users/gmotzespina/events{/privacy}","received_events_url":"https://api.github.com/users/gmotzespina/received_events","type":"User","site_admin":false},"html_url":"https://github.com/gmotzespina/VulnerabilityScanner","description":null,"fork":false,"url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner","forks_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/forks","keys_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/teams","hooks_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/hooks","issue_events_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/issues/events{/number}","events_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/events","assignees_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/assignees{/user}","branches_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/branches{/branch}","tags_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/tags","blobs_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/git/refs{/sha}","trees_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/statuses/{sha}","languages_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/languages","stargazers_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/stargazers","contributors_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/contributors","subscribers_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/subscribers","subscription_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/subscription","commits_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/commits{/sha}","git_commits_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/git/commits{/sha}","comments_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/comments{/number}","issue_comment_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/issues/comments{/number}","contents_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/contents/{+path}","compare_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/merges","archive_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/downloads","issues_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/issues{/number}","pulls_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/pulls{/number}","milestones_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/milestones{/number}","notifications_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/labels{/name}","releases_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/releases{/id}","deployments_url":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/deployments","created_at":"2018-09-26T18:11:27Z","updated_at":"2018-10-04T02:19:08Z","pushed_at":"2018-10-04T16:52:28Z","git_url":"git://github.com/gmotzespina/VulnerabilityScanner.git","ssh_url":"git@github.com:gmotzespina/VulnerabilityScanner.git","clone_url":"https://github.com/gmotzespina/VulnerabilityScanner.git","svn_url":"https://github.com/gmotzespina/VulnerabilityScanner","homepage":null,"size":757,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":4,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/pulls/26"},"html":{"href":"https://github.com/gmotzespina/VulnerabilityScanner/pull/26"},"issue":{"href":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/issues/26"},"comments":{"href":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/gmotzespina/VulnerabilityScanner/statuses/89f3db07c5c517a967f65202e3cc11cd9d0a1908"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"HugoLiconV"}}