{"action":"created","comment":{"url":"https://api.github.com/repos/ukparliament/thorney/pulls/comments/197429048","pull_request_review_id":131172858,"id":197429048,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzQyOTA0OA==","diff_hunk":"@@ -0,0 +1,35 @@\n+module ComponentSerializer\n+  class LinkComponentSerializer < ComponentSerializer::BaseComponentSerializer\n+    # Initialise a link component.\n+    #\n+    # @param [String] link a string to be placed in an href.\n+    # @param [Array<Hash>] display_data a hash containing display data.\n+    # @param [String] label a string to be used as the label attribute for the html element.\n+    # @param [String] selector a string to be the id attribute of the link.\n+    # @param [String] content a translation block that is evaluated into a string in the front-end.\n+    # @param [Array<Object>] components items that form the children of the link component.\n+    def initialize(link: nil, display_data: nil, label: nil, selector: nil, content: nil, components: nil)","path":"app/serializers/component_serializer/link_component_serializer.rb","position":11,"original_position":11,"commit_id":"31c47524b5de580b5c9d1c5d4160a6bad93ca986","original_commit_id":"31c47524b5de580b5c9d1c5d4160a6bad93ca986","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Metrics/ParameterLists: Avoid parameter lists longer than 5 parameters. [6/5]","created_at":"2018-06-22T12:21:22Z","updated_at":"2018-06-22T12:21:23Z","html_url":"https://github.com/ukparliament/thorney/pull/8#discussion_r197429048","pull_request_url":"https://api.github.com/repos/ukparliament/thorney/pulls/8","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ukparliament/thorney/pulls/comments/197429048"},"html":{"href":"https://github.com/ukparliament/thorney/pull/8#discussion_r197429048"},"pull_request":{"href":"https://api.github.com/repos/ukparliament/thorney/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/ukparliament/thorney/pulls/8","id":196722940,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2NzIyOTQw","html_url":"https://github.com/ukparliament/thorney/pull/8","diff_url":"https://github.com/ukparliament/thorney/pull/8.diff","patch_url":"https://github.com/ukparliament/thorney/pull/8.patch","issue_url":"https://api.github.com/repos/ukparliament/thorney/issues/8","number":8,"state":"open","locked":false,"title":"[WEBDEV-581] Implement flash messages","user":{"login":"cazwazacz","id":24531897,"node_id":"MDQ6VXNlcjI0NTMxODk3","avatar_url":"https://avatars1.githubusercontent.com/u/24531897?v=4","gravatar_id":"","url":"https://api.github.com/users/cazwazacz","html_url":"https://github.com/cazwazacz","followers_url":"https://api.github.com/users/cazwazacz/followers","following_url":"https://api.github.com/users/cazwazacz/following{/other_user}","gists_url":"https://api.github.com/users/cazwazacz/gists{/gist_id}","starred_url":"https://api.github.com/users/cazwazacz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cazwazacz/subscriptions","organizations_url":"https://api.github.com/users/cazwazacz/orgs","repos_url":"https://api.github.com/users/cazwazacz/repos","events_url":"https://api.github.com/users/cazwazacz/events{/privacy}","received_events_url":"https://api.github.com/users/cazwazacz/received_events","type":"User","site_admin":false},"body":"- Add flash-like functionality to SearchController\r\n- Add flash_message method to SearchService\r\n- Update translation file with flash method\r\n- In SearchIndexPageSerializer, render content conditionally based on query","created_at":"2018-06-22T12:20:45Z","updated_at":"2018-06-22T12:21:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16f34886cd61653202988bcf91db6713d8718ecd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ukparliament/thorney/pulls/8/commits","review_comments_url":"https://api.github.com/repos/ukparliament/thorney/pulls/8/comments","review_comment_url":"https://api.github.com/repos/ukparliament/thorney/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ukparliament/thorney/issues/8/comments","statuses_url":"https://api.github.com/repos/ukparliament/thorney/statuses/31c47524b5de580b5c9d1c5d4160a6bad93ca986","head":{"label":"cazwazacz:cazwazacz/webdev-581_implement-flash-messages","ref":"cazwazacz/webdev-581_implement-flash-messages","sha":"31c47524b5de580b5c9d1c5d4160a6bad93ca986","user":{"login":"cazwazacz","id":24531897,"node_id":"MDQ6VXNlcjI0NTMxODk3","avatar_url":"https://avatars1.githubusercontent.com/u/24531897?v=4","gravatar_id":"","url":"https://api.github.com/users/cazwazacz","html_url":"https://github.com/cazwazacz","followers_url":"https://api.github.com/users/cazwazacz/followers","following_url":"https://api.github.com/users/cazwazacz/following{/other_user}","gists_url":"https://api.github.com/users/cazwazacz/gists{/gist_id}","starred_url":"https://api.github.com/users/cazwazacz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cazwazacz/subscriptions","organizations_url":"https://api.github.com/users/cazwazacz/orgs","repos_url":"https://api.github.com/users/cazwazacz/repos","events_url":"https://api.github.com/users/cazwazacz/events{/privacy}","received_events_url":"https://api.github.com/users/cazwazacz/received_events","type":"User","site_admin":false},"repo":{"id":136202677,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYyMDI2Nzc=","name":"thorney","full_name":"cazwazacz/thorney","owner":{"login":"cazwazacz","id":24531897,"node_id":"MDQ6VXNlcjI0NTMxODk3","avatar_url":"https://avatars1.githubusercontent.com/u/24531897?v=4","gravatar_id":"","url":"https://api.github.com/users/cazwazacz","html_url":"https://github.com/cazwazacz","followers_url":"https://api.github.com/users/cazwazacz/followers","following_url":"https://api.github.com/users/cazwazacz/following{/other_user}","gists_url":"https://api.github.com/users/cazwazacz/gists{/gist_id}","starred_url":"https://api.github.com/users/cazwazacz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cazwazacz/subscriptions","organizations_url":"https://api.github.com/users/cazwazacz/orgs","repos_url":"https://api.github.com/users/cazwazacz/repos","events_url":"https://api.github.com/users/cazwazacz/events{/privacy}","received_events_url":"https://api.github.com/users/cazwazacz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cazwazacz/thorney","description":"A proposed back-end api for beta.parliament.uk","fork":true,"url":"https://api.github.com/repos/cazwazacz/thorney","forks_url":"https://api.github.com/repos/cazwazacz/thorney/forks","keys_url":"https://api.github.com/repos/cazwazacz/thorney/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cazwazacz/thorney/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cazwazacz/thorney/teams","hooks_url":"https://api.github.com/repos/cazwazacz/thorney/hooks","issue_events_url":"https://api.github.com/repos/cazwazacz/thorney/issues/events{/number}","events_url":"https://api.github.com/repos/cazwazacz/thorney/events","assignees_url":"https://api.github.com/repos/cazwazacz/thorney/assignees{/user}","branches_url":"https://api.github.com/repos/cazwazacz/thorney/branches{/branch}","tags_url":"https://api.github.com/repos/cazwazacz/thorney/tags","blobs_url":"https://api.github.com/repos/cazwazacz/thorney/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cazwazacz/thorney/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cazwazacz/thorney/git/refs{/sha}","trees_url":"https://api.github.com/repos/cazwazacz/thorney/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cazwazacz/thorney/statuses/{sha}","languages_url":"https://api.github.com/repos/cazwazacz/thorney/languages","stargazers_url":"https://api.github.com/repos/cazwazacz/thorney/stargazers","contributors_url":"https://api.github.com/repos/cazwazacz/thorney/contributors","subscribers_url":"https://api.github.com/repos/cazwazacz/thorney/subscribers","subscription_url":"https://api.github.com/repos/cazwazacz/thorney/subscription","commits_url":"https://api.github.com/repos/cazwazacz/thorney/commits{/sha}","git_commits_url":"https://api.github.com/repos/cazwazacz/thorney/git/commits{/sha}","comments_url":"https://api.github.com/repos/cazwazacz/thorney/comments{/number}","issue_comment_url":"https://api.github.com/repos/cazwazacz/thorney/issues/comments{/number}","contents_url":"https://api.github.com/repos/cazwazacz/thorney/contents/{+path}","compare_url":"https://api.github.com/repos/cazwazacz/thorney/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cazwazacz/thorney/merges","archive_url":"https://api.github.com/repos/cazwazacz/thorney/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cazwazacz/thorney/downloads","issues_url":"https://api.github.com/repos/cazwazacz/thorney/issues{/number}","pulls_url":"https://api.github.com/repos/cazwazacz/thorney/pulls{/number}","milestones_url":"https://api.github.com/repos/cazwazacz/thorney/milestones{/number}","notifications_url":"https://api.github.com/repos/cazwazacz/thorney/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cazwazacz/thorney/labels{/name}","releases_url":"https://api.github.com/repos/cazwazacz/thorney/releases{/id}","deployments_url":"https://api.github.com/repos/cazwazacz/thorney/deployments","created_at":"2018-06-05T16:05:49Z","updated_at":"2018-06-07T14:58:43Z","pushed_at":"2018-06-22T12:20:05Z","git_url":"git://github.com/cazwazacz/thorney.git","ssh_url":"git@github.com:cazwazacz/thorney.git","clone_url":"https://github.com/cazwazacz/thorney.git","svn_url":"https://github.com/cazwazacz/thorney","homepage":null,"size":248,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ukparliament:master","ref":"master","sha":"f860ab6d2c173e60f3f58f8fe287a852c4664950","user":{"login":"ukparliament","id":7130076,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcxMzAwNzY=","avatar_url":"https://avatars3.githubusercontent.com/u/7130076?v=4","gravatar_id":"","url":"https://api.github.com/users/ukparliament","html_url":"https://github.com/ukparliament","followers_url":"https://api.github.com/users/ukparliament/followers","following_url":"https://api.github.com/users/ukparliament/following{/other_user}","gists_url":"https://api.github.com/users/ukparliament/gists{/gist_id}","starred_url":"https://api.github.com/users/ukparliament/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ukparliament/subscriptions","organizations_url":"https://api.github.com/users/ukparliament/orgs","repos_url":"https://api.github.com/users/ukparliament/repos","events_url":"https://api.github.com/users/ukparliament/events{/privacy}","received_events_url":"https://api.github.com/users/ukparliament/received_events","type":"Organization","site_admin":false},"repo":{"id":136155620,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYxNTU2MjA=","name":"thorney","full_name":"ukparliament/thorney","owner":{"login":"ukparliament","id":7130076,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcxMzAwNzY=","avatar_url":"https://avatars3.githubusercontent.com/u/7130076?v=4","gravatar_id":"","url":"https://api.github.com/users/ukparliament","html_url":"https://github.com/ukparliament","followers_url":"https://api.github.com/users/ukparliament/followers","following_url":"https://api.github.com/users/ukparliament/following{/other_user}","gists_url":"https://api.github.com/users/ukparliament/gists{/gist_id}","starred_url":"https://api.github.com/users/ukparliament/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ukparliament/subscriptions","organizations_url":"https://api.github.com/users/ukparliament/orgs","repos_url":"https://api.github.com/users/ukparliament/repos","events_url":"https://api.github.com/users/ukparliament/events{/privacy}","received_events_url":"https://api.github.com/users/ukparliament/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ukparliament/thorney","description":"A proposed back-end api for beta.parliament.uk","fork":false,"url":"https://api.github.com/repos/ukparliament/thorney","forks_url":"https://api.github.com/repos/ukparliament/thorney/forks","keys_url":"https://api.github.com/repos/ukparliament/thorney/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ukparliament/thorney/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ukparliament/thorney/teams","hooks_url":"https://api.github.com/repos/ukparliament/thorney/hooks","issue_events_url":"https://api.github.com/repos/ukparliament/thorney/issues/events{/number}","events_url":"https://api.github.com/repos/ukparliament/thorney/events","assignees_url":"https://api.github.com/repos/ukparliament/thorney/assignees{/user}","branches_url":"https://api.github.com/repos/ukparliament/thorney/branches{/branch}","tags_url":"https://api.github.com/repos/ukparliament/thorney/tags","blobs_url":"https://api.github.com/repos/ukparliament/thorney/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ukparliament/thorney/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ukparliament/thorney/git/refs{/sha}","trees_url":"https://api.github.com/repos/ukparliament/thorney/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ukparliament/thorney/statuses/{sha}","languages_url":"https://api.github.com/repos/ukparliament/thorney/languages","stargazers_url":"https://api.github.com/repos/ukparliament/thorney/stargazers","contributors_url":"https://api.github.com/repos/ukparliament/thorney/contributors","subscribers_url":"https://api.github.com/repos/ukparliament/thorney/subscribers","subscription_url":"https://api.github.com/repos/ukparliament/thorney/subscription","commits_url":"https://api.github.com/repos/ukparliament/thorney/commits{/sha}","git_commits_url":"https://api.github.com/repos/ukparliament/thorney/git/commits{/sha}","comments_url":"https://api.github.com/repos/ukparliament/thorney/comments{/number}","issue_comment_url":"https://api.github.com/repos/ukparliament/thorney/issues/comments{/number}","contents_url":"https://api.github.com/repos/ukparliament/thorney/contents/{+path}","compare_url":"https://api.github.com/repos/ukparliament/thorney/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ukparliament/thorney/merges","archive_url":"https://api.github.com/repos/ukparliament/thorney/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ukparliament/thorney/downloads","issues_url":"https://api.github.com/repos/ukparliament/thorney/issues{/number}","pulls_url":"https://api.github.com/repos/ukparliament/thorney/pulls{/number}","milestones_url":"https://api.github.com/repos/ukparliament/thorney/milestones{/number}","notifications_url":"https://api.github.com/repos/ukparliament/thorney/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ukparliament/thorney/labels{/name}","releases_url":"https://api.github.com/repos/ukparliament/thorney/releases{/id}","deployments_url":"https://api.github.com/repos/ukparliament/thorney/deployments","created_at":"2018-06-05T09:44:55Z","updated_at":"2018-06-12T12:25:04Z","pushed_at":"2018-06-22T12:20:46Z","git_url":"git://github.com/ukparliament/thorney.git","ssh_url":"git@github.com:ukparliament/thorney.git","clone_url":"https://github.com/ukparliament/thorney.git","svn_url":"https://github.com/ukparliament/thorney","homepage":null,"size":30,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":3,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ukparliament/thorney/pulls/8"},"html":{"href":"https://github.com/ukparliament/thorney/pull/8"},"issue":{"href":"https://api.github.com/repos/ukparliament/thorney/issues/8"},"comments":{"href":"https://api.github.com/repos/ukparliament/thorney/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/ukparliament/thorney/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/ukparliament/thorney/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ukparliament/thorney/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/ukparliament/thorney/statuses/31c47524b5de580b5c9d1c5d4160a6bad93ca986"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"houndci-bot"}}