{"action":"created","comment":{"url":"https://api.github.com/repos/Loft47/docusign_dtr/pulls/comments/231348689","pull_request_review_id":172302008,"id":231348689,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMTM0ODY4OQ==","diff_hunk":"@@ -36,7 +36,7 @@ def general_error\n         return DocusignDtr::InvalidGrant if error_code.match?(/grant/)\n         return DocusignDtr::ApiLimitExceeded if error_code.match?(/HOURLY_APIINVOCATION_LIMIT_EXCEEDED/)\n \n-        DocusignDtr::ConsentRequired.new(error_message)\n+        DocusignDtr::ConsentRequired if error_code.match?(/consent_required/)","path":"lib/docusign_dtr/auth/error.rb","position":null,"original_position":5,"commit_id":"e8287924671f63a998687ab899d41461804b951d","original_commit_id":"2c45629d3e7a1a5dcbd5d5d2581ea1a19ff5b75a","user":{"login":"leonbsilva","id":527793,"node_id":"MDQ6VXNlcjUyNzc5Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/527793?v=4","gravatar_id":"","url":"https://api.github.com/users/leonbsilva","html_url":"https://github.com/leonbsilva","followers_url":"https://api.github.com/users/leonbsilva/followers","following_url":"https://api.github.com/users/leonbsilva/following{/other_user}","gists_url":"https://api.github.com/users/leonbsilva/gists{/gist_id}","starred_url":"https://api.github.com/users/leonbsilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonbsilva/subscriptions","organizations_url":"https://api.github.com/users/leonbsilva/orgs","repos_url":"https://api.github.com/users/leonbsilva/repos","events_url":"https://api.github.com/users/leonbsilva/events{/privacy}","received_events_url":"https://api.github.com/users/leonbsilva/received_events","type":"User","site_admin":false},"body":"i think it is better to use error_message for all and get rid of full_message","created_at":"2018-11-07T00:51:17Z","updated_at":"2018-11-07T00:51:18Z","html_url":"https://github.com/Loft47/docusign_dtr/pull/15#discussion_r231348689","pull_request_url":"https://api.github.com/repos/Loft47/docusign_dtr/pulls/15","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Loft47/docusign_dtr/pulls/comments/231348689"},"html":{"href":"https://github.com/Loft47/docusign_dtr/pull/15#discussion_r231348689"},"pull_request":{"href":"https://api.github.com/repos/Loft47/docusign_dtr/pulls/15"}},"in_reply_to_id":231295982},"pull_request":{"url":"https://api.github.com/repos/Loft47/docusign_dtr/pulls/15","id":228834410,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4ODM0NDEw","html_url":"https://github.com/Loft47/docusign_dtr/pull/15","diff_url":"https://github.com/Loft47/docusign_dtr/pull/15.diff","patch_url":"https://github.com/Loft47/docusign_dtr/pull/15.patch","issue_url":"https://api.github.com/repos/Loft47/docusign_dtr/issues/15","number":15,"state":"open","locked":false,"title":"Bug/fix consent required error","user":{"login":"leonbsilva","id":527793,"node_id":"MDQ6VXNlcjUyNzc5Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/527793?v=4","gravatar_id":"","url":"https://api.github.com/users/leonbsilva","html_url":"https://github.com/leonbsilva","followers_url":"https://api.github.com/users/leonbsilva/followers","following_url":"https://api.github.com/users/leonbsilva/following{/other_user}","gists_url":"https://api.github.com/users/leonbsilva/gists{/gist_id}","starred_url":"https://api.github.com/users/leonbsilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonbsilva/subscriptions","organizations_url":"https://api.github.com/users/leonbsilva/orgs","repos_url":"https://api.github.com/users/leonbsilva/repos","events_url":"https://api.github.com/users/leonbsilva/events{/privacy}","received_events_url":"https://api.github.com/users/leonbsilva/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-06T21:06:06Z","updated_at":"2018-11-07T00:51:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"110f0ad9dd351eadde95e8cc29440464982e9923","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Loft47/docusign_dtr/pulls/15/commits","review_comments_url":"https://api.github.com/repos/Loft47/docusign_dtr/pulls/15/comments","review_comment_url":"https://api.github.com/repos/Loft47/docusign_dtr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Loft47/docusign_dtr/issues/15/comments","statuses_url":"https://api.github.com/repos/Loft47/docusign_dtr/statuses/e8287924671f63a998687ab899d41461804b951d","head":{"label":"Loft47:bug/fix-error-handler","ref":"bug/fix-error-handler","sha":"e8287924671f63a998687ab899d41461804b951d","user":{"login":"Loft47","id":14812857,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODEyODU3","avatar_url":"https://avatars3.githubusercontent.com/u/14812857?v=4","gravatar_id":"","url":"https://api.github.com/users/Loft47","html_url":"https://github.com/Loft47","followers_url":"https://api.github.com/users/Loft47/followers","following_url":"https://api.github.com/users/Loft47/following{/other_user}","gists_url":"https://api.github.com/users/Loft47/gists{/gist_id}","starred_url":"https://api.github.com/users/Loft47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Loft47/subscriptions","organizations_url":"https://api.github.com/users/Loft47/orgs","repos_url":"https://api.github.com/users/Loft47/repos","events_url":"https://api.github.com/users/Loft47/events{/privacy}","received_events_url":"https://api.github.com/users/Loft47/received_events","type":"Organization","site_admin":false},"repo":{"id":98707084,"node_id":"MDEwOlJlcG9zaXRvcnk5ODcwNzA4NA==","name":"docusign_dtr","full_name":"Loft47/docusign_dtr","private":false,"owner":{"login":"Loft47","id":14812857,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODEyODU3","avatar_url":"https://avatars3.githubusercontent.com/u/14812857?v=4","gravatar_id":"","url":"https://api.github.com/users/Loft47","html_url":"https://github.com/Loft47","followers_url":"https://api.github.com/users/Loft47/followers","following_url":"https://api.github.com/users/Loft47/following{/other_user}","gists_url":"https://api.github.com/users/Loft47/gists{/gist_id}","starred_url":"https://api.github.com/users/Loft47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Loft47/subscriptions","organizations_url":"https://api.github.com/users/Loft47/orgs","repos_url":"https://api.github.com/users/Loft47/repos","events_url":"https://api.github.com/users/Loft47/events{/privacy}","received_events_url":"https://api.github.com/users/Loft47/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Loft47/docusign_dtr","description":null,"fork":false,"url":"https://api.github.com/repos/Loft47/docusign_dtr","forks_url":"https://api.github.com/repos/Loft47/docusign_dtr/forks","keys_url":"https://api.github.com/repos/Loft47/docusign_dtr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Loft47/docusign_dtr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Loft47/docusign_dtr/teams","hooks_url":"https://api.github.com/repos/Loft47/docusign_dtr/hooks","issue_events_url":"https://api.github.com/repos/Loft47/docusign_dtr/issues/events{/number}","events_url":"https://api.github.com/repos/Loft47/docusign_dtr/events","assignees_url":"https://api.github.com/repos/Loft47/docusign_dtr/assignees{/user}","branches_url":"https://api.github.com/repos/Loft47/docusign_dtr/branches{/branch}","tags_url":"https://api.github.com/repos/Loft47/docusign_dtr/tags","blobs_url":"https://api.github.com/repos/Loft47/docusign_dtr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Loft47/docusign_dtr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Loft47/docusign_dtr/git/refs{/sha}","trees_url":"https://api.github.com/repos/Loft47/docusign_dtr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Loft47/docusign_dtr/statuses/{sha}","languages_url":"https://api.github.com/repos/Loft47/docusign_dtr/languages","stargazers_url":"https://api.github.com/repos/Loft47/docusign_dtr/stargazers","contributors_url":"https://api.github.com/repos/Loft47/docusign_dtr/contributors","subscribers_url":"https://api.github.com/repos/Loft47/docusign_dtr/subscribers","subscription_url":"https://api.github.com/repos/Loft47/docusign_dtr/subscription","commits_url":"https://api.github.com/repos/Loft47/docusign_dtr/commits{/sha}","git_commits_url":"https://api.github.com/repos/Loft47/docusign_dtr/git/commits{/sha}","comments_url":"https://api.github.com/repos/Loft47/docusign_dtr/comments{/number}","issue_comment_url":"https://api.github.com/repos/Loft47/docusign_dtr/issues/comments{/number}","contents_url":"https://api.github.com/repos/Loft47/docusign_dtr/contents/{+path}","compare_url":"https://api.github.com/repos/Loft47/docusign_dtr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Loft47/docusign_dtr/merges","archive_url":"https://api.github.com/repos/Loft47/docusign_dtr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Loft47/docusign_dtr/downloads","issues_url":"https://api.github.com/repos/Loft47/docusign_dtr/issues{/number}","pulls_url":"https://api.github.com/repos/Loft47/docusign_dtr/pulls{/number}","milestones_url":"https://api.github.com/repos/Loft47/docusign_dtr/milestones{/number}","notifications_url":"https://api.github.com/repos/Loft47/docusign_dtr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Loft47/docusign_dtr/labels{/name}","releases_url":"https://api.github.com/repos/Loft47/docusign_dtr/releases{/id}","deployments_url":"https://api.github.com/repos/Loft47/docusign_dtr/deployments","created_at":"2017-07-29T04:01:19Z","updated_at":"2018-11-02T23:18:23Z","pushed_at":"2018-11-07T00:50:35Z","git_url":"git://github.com/Loft47/docusign_dtr.git","ssh_url":"git@github.com:Loft47/docusign_dtr.git","clone_url":"https://github.com/Loft47/docusign_dtr.git","svn_url":"https://github.com/Loft47/docusign_dtr","homepage":null,"size":139,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"Loft47:master","ref":"master","sha":"48d3ca472aaed0da2bd2bc3fb40f64c763da88f8","user":{"login":"Loft47","id":14812857,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODEyODU3","avatar_url":"https://avatars3.githubusercontent.com/u/14812857?v=4","gravatar_id":"","url":"https://api.github.com/users/Loft47","html_url":"https://github.com/Loft47","followers_url":"https://api.github.com/users/Loft47/followers","following_url":"https://api.github.com/users/Loft47/following{/other_user}","gists_url":"https://api.github.com/users/Loft47/gists{/gist_id}","starred_url":"https://api.github.com/users/Loft47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Loft47/subscriptions","organizations_url":"https://api.github.com/users/Loft47/orgs","repos_url":"https://api.github.com/users/Loft47/repos","events_url":"https://api.github.com/users/Loft47/events{/privacy}","received_events_url":"https://api.github.com/users/Loft47/received_events","type":"Organization","site_admin":false},"repo":{"id":98707084,"node_id":"MDEwOlJlcG9zaXRvcnk5ODcwNzA4NA==","name":"docusign_dtr","full_name":"Loft47/docusign_dtr","private":false,"owner":{"login":"Loft47","id":14812857,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODEyODU3","avatar_url":"https://avatars3.githubusercontent.com/u/14812857?v=4","gravatar_id":"","url":"https://api.github.com/users/Loft47","html_url":"https://github.com/Loft47","followers_url":"https://api.github.com/users/Loft47/followers","following_url":"https://api.github.com/users/Loft47/following{/other_user}","gists_url":"https://api.github.com/users/Loft47/gists{/gist_id}","starred_url":"https://api.github.com/users/Loft47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Loft47/subscriptions","organizations_url":"https://api.github.com/users/Loft47/orgs","repos_url":"https://api.github.com/users/Loft47/repos","events_url":"https://api.github.com/users/Loft47/events{/privacy}","received_events_url":"https://api.github.com/users/Loft47/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Loft47/docusign_dtr","description":null,"fork":false,"url":"https://api.github.com/repos/Loft47/docusign_dtr","forks_url":"https://api.github.com/repos/Loft47/docusign_dtr/forks","keys_url":"https://api.github.com/repos/Loft47/docusign_dtr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Loft47/docusign_dtr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Loft47/docusign_dtr/teams","hooks_url":"https://api.github.com/repos/Loft47/docusign_dtr/hooks","issue_events_url":"https://api.github.com/repos/Loft47/docusign_dtr/issues/events{/number}","events_url":"https://api.github.com/repos/Loft47/docusign_dtr/events","assignees_url":"https://api.github.com/repos/Loft47/docusign_dtr/assignees{/user}","branches_url":"https://api.github.com/repos/Loft47/docusign_dtr/branches{/branch}","tags_url":"https://api.github.com/repos/Loft47/docusign_dtr/tags","blobs_url":"https://api.github.com/repos/Loft47/docusign_dtr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Loft47/docusign_dtr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Loft47/docusign_dtr/git/refs{/sha}","trees_url":"https://api.github.com/repos/Loft47/docusign_dtr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Loft47/docusign_dtr/statuses/{sha}","languages_url":"https://api.github.com/repos/Loft47/docusign_dtr/languages","stargazers_url":"https://api.github.com/repos/Loft47/docusign_dtr/stargazers","contributors_url":"https://api.github.com/repos/Loft47/docusign_dtr/contributors","subscribers_url":"https://api.github.com/repos/Loft47/docusign_dtr/subscribers","subscription_url":"https://api.github.com/repos/Loft47/docusign_dtr/subscription","commits_url":"https://api.github.com/repos/Loft47/docusign_dtr/commits{/sha}","git_commits_url":"https://api.github.com/repos/Loft47/docusign_dtr/git/commits{/sha}","comments_url":"https://api.github.com/repos/Loft47/docusign_dtr/comments{/number}","issue_comment_url":"https://api.github.com/repos/Loft47/docusign_dtr/issues/comments{/number}","contents_url":"https://api.github.com/repos/Loft47/docusign_dtr/contents/{+path}","compare_url":"https://api.github.com/repos/Loft47/docusign_dtr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Loft47/docusign_dtr/merges","archive_url":"https://api.github.com/repos/Loft47/docusign_dtr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Loft47/docusign_dtr/downloads","issues_url":"https://api.github.com/repos/Loft47/docusign_dtr/issues{/number}","pulls_url":"https://api.github.com/repos/Loft47/docusign_dtr/pulls{/number}","milestones_url":"https://api.github.com/repos/Loft47/docusign_dtr/milestones{/number}","notifications_url":"https://api.github.com/repos/Loft47/docusign_dtr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Loft47/docusign_dtr/labels{/name}","releases_url":"https://api.github.com/repos/Loft47/docusign_dtr/releases{/id}","deployments_url":"https://api.github.com/repos/Loft47/docusign_dtr/deployments","created_at":"2017-07-29T04:01:19Z","updated_at":"2018-11-02T23:18:23Z","pushed_at":"2018-11-07T00:50:35Z","git_url":"git://github.com/Loft47/docusign_dtr.git","ssh_url":"git@github.com:Loft47/docusign_dtr.git","clone_url":"https://github.com/Loft47/docusign_dtr.git","svn_url":"https://github.com/Loft47/docusign_dtr","homepage":null,"size":139,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Loft47/docusign_dtr/pulls/15"},"html":{"href":"https://github.com/Loft47/docusign_dtr/pull/15"},"issue":{"href":"https://api.github.com/repos/Loft47/docusign_dtr/issues/15"},"comments":{"href":"https://api.github.com/repos/Loft47/docusign_dtr/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/Loft47/docusign_dtr/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/Loft47/docusign_dtr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Loft47/docusign_dtr/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/Loft47/docusign_dtr/statuses/e8287924671f63a998687ab899d41461804b951d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"leonbsilva"}}