{"action":"created","comment":{"url":"https://api.github.com/repos/dchbx/enroll/pulls/comments/306962980","pull_request_review_id":266211903,"id":306962980,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMwNjk2Mjk4MA==","diff_hunk":"@@ -347,70 +347,60 @@ def expire_member_benefits\n         end\n       end\n  \n-      def terminate_member_benefits\n+      def terminate_member_benefits(term_date: nil, enroll_term_reason: nil, enroll_notify: false)","path":"components/benefit_sponsors/app/models/benefit_sponsors/benefit_packages/benefit_package.rb","position":5,"original_position":5,"commit_id":"add20a01c38772b45a5c572224eac68859e6ec80","original_commit_id":"add20a01c38772b45a5c572224eac68859e6ec80","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/CyclomaticComplexity: Cyclomatic complexity for terminate_member_benefits is too high. [10/8]","created_at":"2019-07-24T18:40:13Z","updated_at":"2019-07-24T18:40:15Z","html_url":"https://github.com/dchbx/enroll/pull/3052#discussion_r306962980","pull_request_url":"https://api.github.com/repos/dchbx/enroll/pulls/3052","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/dchbx/enroll/pulls/comments/306962980"},"html":{"href":"https://github.com/dchbx/enroll/pull/3052#discussion_r306962980"},"pull_request":{"href":"https://api.github.com/repos/dchbx/enroll/pulls/3052"}}},"pull_request":{"url":"https://api.github.com/repos/dchbx/enroll/pulls/3052","id":300560863,"node_id":"MDExOlB1bGxSZXF1ZXN0MzAwNTYwODYz","html_url":"https://github.com/dchbx/enroll/pull/3052","diff_url":"https://github.com/dchbx/enroll/pull/3052.diff","patch_url":"https://github.com/dchbx/enroll/pull/3052.patch","issue_url":"https://api.github.com/repos/dchbx/enroll/issues/3052","number":3052,"state":"open","locked":false,"title":"Dc new model base shop non pay feature","user":{"login":"saimekala07","id":14282458,"node_id":"MDQ6VXNlcjE0MjgyNDU4","avatar_url":"https://avatars0.githubusercontent.com/u/14282458?v=4","gravatar_id":"","url":"https://api.github.com/users/saimekala07","html_url":"https://github.com/saimekala07","followers_url":"https://api.github.com/users/saimekala07/followers","following_url":"https://api.github.com/users/saimekala07/following{/other_user}","gists_url":"https://api.github.com/users/saimekala07/gists{/gist_id}","starred_url":"https://api.github.com/users/saimekala07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saimekala07/subscriptions","organizations_url":"https://api.github.com/users/saimekala07/orgs","repos_url":"https://api.github.com/users/saimekala07/repos","events_url":"https://api.github.com/users/saimekala07/events{/privacy}","received_events_url":"https://api.github.com/users/saimekala07/received_events","type":"User","site_admin":false},"body":"### Master Redmine ticket\r\n* (Required!)\r\n\r\n### Child Redmine ticket(s)\r\n* ()\r\n* ()\r\n\r\n### Local build result\r\n\r\n```\r\nbundle exec rake parallel:spec[4]\r\nbundle exec cucumber\r\n```\r\n\r\n### Latest rebase/merge tag\r\n*\r\n\r\n---\r\n\r\n### Data ticket(s) Followup\r\n* (redmine links here - optional)\r\n\r\n### Related Pull Requests\r\n* (github links here - optional)\r\n\r\n---\r\n\r\n### TODOs / Notes\r\n#### Peer Review\r\n* (For code review)\r\n\r\n#### Functional Testing\r\n* (For testing locally)\r\n\r\n#### Deployment\r\n* (for release manager and/or build manager)\r\n","created_at":"2019-07-24T05:04:39Z","updated_at":"2019-07-24T18:40:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a35fa046d488b51ba377d12273ff852fcf8be1f6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dchbx/enroll/pulls/3052/commits","review_comments_url":"https://api.github.com/repos/dchbx/enroll/pulls/3052/comments","review_comment_url":"https://api.github.com/repos/dchbx/enroll/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dchbx/enroll/issues/3052/comments","statuses_url":"https://api.github.com/repos/dchbx/enroll/statuses/add20a01c38772b45a5c572224eac68859e6ec80","head":{"label":"dchbx:dc_new_model_base_shop_non_pay_feature","ref":"dc_new_model_base_shop_non_pay_feature","sha":"add20a01c38772b45a5c572224eac68859e6ec80","user":{"login":"dchbx","id":4580217,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1ODAyMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/4580217?v=4","gravatar_id":"","url":"https://api.github.com/users/dchbx","html_url":"https://github.com/dchbx","followers_url":"https://api.github.com/users/dchbx/followers","following_url":"https://api.github.com/users/dchbx/following{/other_user}","gists_url":"https://api.github.com/users/dchbx/gists{/gist_id}","starred_url":"https://api.github.com/users/dchbx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchbx/subscriptions","organizations_url":"https://api.github.com/users/dchbx/orgs","repos_url":"https://api.github.com/users/dchbx/repos","events_url":"https://api.github.com/users/dchbx/events{/privacy}","received_events_url":"https://api.github.com/users/dchbx/received_events","type":"Organization","site_admin":false},"repo":{"id":28518679,"node_id":"MDEwOlJlcG9zaXRvcnkyODUxODY3OQ==","name":"enroll","full_name":"dchbx/enroll","private":false,"owner":{"login":"dchbx","id":4580217,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1ODAyMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/4580217?v=4","gravatar_id":"","url":"https://api.github.com/users/dchbx","html_url":"https://github.com/dchbx","followers_url":"https://api.github.com/users/dchbx/followers","following_url":"https://api.github.com/users/dchbx/following{/other_user}","gists_url":"https://api.github.com/users/dchbx/gists{/gist_id}","starred_url":"https://api.github.com/users/dchbx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchbx/subscriptions","organizations_url":"https://api.github.com/users/dchbx/orgs","repos_url":"https://api.github.com/users/dchbx/repos","events_url":"https://api.github.com/users/dchbx/events{/privacy}","received_events_url":"https://api.github.com/users/dchbx/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dchbx/enroll","description":"An ACA-compliant enrollment system for individual and SHOP markets, built on Ruby on Rails, with a Mongo database","fork":false,"url":"https://api.github.com/repos/dchbx/enroll","forks_url":"https://api.github.com/repos/dchbx/enroll/forks","keys_url":"https://api.github.com/repos/dchbx/enroll/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dchbx/enroll/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dchbx/enroll/teams","hooks_url":"https://api.github.com/repos/dchbx/enroll/hooks","issue_events_url":"https://api.github.com/repos/dchbx/enroll/issues/events{/number}","events_url":"https://api.github.com/repos/dchbx/enroll/events","assignees_url":"https://api.github.com/repos/dchbx/enroll/assignees{/user}","branches_url":"https://api.github.com/repos/dchbx/enroll/branches{/branch}","tags_url":"https://api.github.com/repos/dchbx/enroll/tags","blobs_url":"https://api.github.com/repos/dchbx/enroll/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dchbx/enroll/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dchbx/enroll/git/refs{/sha}","trees_url":"https://api.github.com/repos/dchbx/enroll/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dchbx/enroll/statuses/{sha}","languages_url":"https://api.github.com/repos/dchbx/enroll/languages","stargazers_url":"https://api.github.com/repos/dchbx/enroll/stargazers","contributors_url":"https://api.github.com/repos/dchbx/enroll/contributors","subscribers_url":"https://api.github.com/repos/dchbx/enroll/subscribers","subscription_url":"https://api.github.com/repos/dchbx/enroll/subscription","commits_url":"https://api.github.com/repos/dchbx/enroll/commits{/sha}","git_commits_url":"https://api.github.com/repos/dchbx/enroll/git/commits{/sha}","comments_url":"https://api.github.com/repos/dchbx/enroll/comments{/number}","issue_comment_url":"https://api.github.com/repos/dchbx/enroll/issues/comments{/number}","contents_url":"https://api.github.com/repos/dchbx/enroll/contents/{+path}","compare_url":"https://api.github.com/repos/dchbx/enroll/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dchbx/enroll/merges","archive_url":"https://api.github.com/repos/dchbx/enroll/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dchbx/enroll/downloads","issues_url":"https://api.github.com/repos/dchbx/enroll/issues{/number}","pulls_url":"https://api.github.com/repos/dchbx/enroll/pulls{/number}","milestones_url":"https://api.github.com/repos/dchbx/enroll/milestones{/number}","notifications_url":"https://api.github.com/repos/dchbx/enroll/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dchbx/enroll/labels{/name}","releases_url":"https://api.github.com/repos/dchbx/enroll/releases{/id}","deployments_url":"https://api.github.com/repos/dchbx/enroll/deployments","created_at":"2014-12-26T18:59:14Z","updated_at":"2019-07-19T15:28:28Z","pushed_at":"2019-07-24T18:39:49Z","git_url":"git://github.com/dchbx/enroll.git","ssh_url":"git@github.com:dchbx/enroll.git","clone_url":"https://github.com/dchbx/enroll.git","svn_url":"https://github.com/dchbx/enroll","homepage":"https://dchealthlink.com/","size":169668,"stargazers_count":20,"watchers_count":20,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":412,"license":null,"forks":33,"open_issues":412,"watchers":20,"default_branch":"master"}},"base":{"label":"dchbx:dc_new_model_base","ref":"dc_new_model_base","sha":"d8bf14f1913d9a3825cf057689747f19945e5660","user":{"login":"dchbx","id":4580217,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1ODAyMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/4580217?v=4","gravatar_id":"","url":"https://api.github.com/users/dchbx","html_url":"https://github.com/dchbx","followers_url":"https://api.github.com/users/dchbx/followers","following_url":"https://api.github.com/users/dchbx/following{/other_user}","gists_url":"https://api.github.com/users/dchbx/gists{/gist_id}","starred_url":"https://api.github.com/users/dchbx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchbx/subscriptions","organizations_url":"https://api.github.com/users/dchbx/orgs","repos_url":"https://api.github.com/users/dchbx/repos","events_url":"https://api.github.com/users/dchbx/events{/privacy}","received_events_url":"https://api.github.com/users/dchbx/received_events","type":"Organization","site_admin":false},"repo":{"id":28518679,"node_id":"MDEwOlJlcG9zaXRvcnkyODUxODY3OQ==","name":"enroll","full_name":"dchbx/enroll","private":false,"owner":{"login":"dchbx","id":4580217,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1ODAyMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/4580217?v=4","gravatar_id":"","url":"https://api.github.com/users/dchbx","html_url":"https://github.com/dchbx","followers_url":"https://api.github.com/users/dchbx/followers","following_url":"https://api.github.com/users/dchbx/following{/other_user}","gists_url":"https://api.github.com/users/dchbx/gists{/gist_id}","starred_url":"https://api.github.com/users/dchbx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchbx/subscriptions","organizations_url":"https://api.github.com/users/dchbx/orgs","repos_url":"https://api.github.com/users/dchbx/repos","events_url":"https://api.github.com/users/dchbx/events{/privacy}","received_events_url":"https://api.github.com/users/dchbx/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dchbx/enroll","description":"An ACA-compliant enrollment system for individual and SHOP markets, built on Ruby on Rails, with a Mongo database","fork":false,"url":"https://api.github.com/repos/dchbx/enroll","forks_url":"https://api.github.com/repos/dchbx/enroll/forks","keys_url":"https://api.github.com/repos/dchbx/enroll/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dchbx/enroll/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dchbx/enroll/teams","hooks_url":"https://api.github.com/repos/dchbx/enroll/hooks","issue_events_url":"https://api.github.com/repos/dchbx/enroll/issues/events{/number}","events_url":"https://api.github.com/repos/dchbx/enroll/events","assignees_url":"https://api.github.com/repos/dchbx/enroll/assignees{/user}","branches_url":"https://api.github.com/repos/dchbx/enroll/branches{/branch}","tags_url":"https://api.github.com/repos/dchbx/enroll/tags","blobs_url":"https://api.github.com/repos/dchbx/enroll/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dchbx/enroll/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dchbx/enroll/git/refs{/sha}","trees_url":"https://api.github.com/repos/dchbx/enroll/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dchbx/enroll/statuses/{sha}","languages_url":"https://api.github.com/repos/dchbx/enroll/languages","stargazers_url":"https://api.github.com/repos/dchbx/enroll/stargazers","contributors_url":"https://api.github.com/repos/dchbx/enroll/contributors","subscribers_url":"https://api.github.com/repos/dchbx/enroll/subscribers","subscription_url":"https://api.github.com/repos/dchbx/enroll/subscription","commits_url":"https://api.github.com/repos/dchbx/enroll/commits{/sha}","git_commits_url":"https://api.github.com/repos/dchbx/enroll/git/commits{/sha}","comments_url":"https://api.github.com/repos/dchbx/enroll/comments{/number}","issue_comment_url":"https://api.github.com/repos/dchbx/enroll/issues/comments{/number}","contents_url":"https://api.github.com/repos/dchbx/enroll/contents/{+path}","compare_url":"https://api.github.com/repos/dchbx/enroll/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dchbx/enroll/merges","archive_url":"https://api.github.com/repos/dchbx/enroll/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dchbx/enroll/downloads","issues_url":"https://api.github.com/repos/dchbx/enroll/issues{/number}","pulls_url":"https://api.github.com/repos/dchbx/enroll/pulls{/number}","milestones_url":"https://api.github.com/repos/dchbx/enroll/milestones{/number}","notifications_url":"https://api.github.com/repos/dchbx/enroll/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dchbx/enroll/labels{/name}","releases_url":"https://api.github.com/repos/dchbx/enroll/releases{/id}","deployments_url":"https://api.github.com/repos/dchbx/enroll/deployments","created_at":"2014-12-26T18:59:14Z","updated_at":"2019-07-19T15:28:28Z","pushed_at":"2019-07-24T18:39:49Z","git_url":"git://github.com/dchbx/enroll.git","ssh_url":"git@github.com:dchbx/enroll.git","clone_url":"https://github.com/dchbx/enroll.git","svn_url":"https://github.com/dchbx/enroll","homepage":"https://dchealthlink.com/","size":169668,"stargazers_count":20,"watchers_count":20,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":412,"license":null,"forks":33,"open_issues":412,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dchbx/enroll/pulls/3052"},"html":{"href":"https://github.com/dchbx/enroll/pull/3052"},"issue":{"href":"https://api.github.com/repos/dchbx/enroll/issues/3052"},"comments":{"href":"https://api.github.com/repos/dchbx/enroll/issues/3052/comments"},"review_comments":{"href":"https://api.github.com/repos/dchbx/enroll/pulls/3052/comments"},"review_comment":{"href":"https://api.github.com/repos/dchbx/enroll/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dchbx/enroll/pulls/3052/commits"},"statuses":{"href":"https://api.github.com/repos/dchbx/enroll/statuses/add20a01c38772b45a5c572224eac68859e6ec80"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"houndci-bot"}}