{"action":"opened","number":290,"pull_request":{"url":"https://api.github.com/repos/cerebris/jsonapi-resources/pulls/290","id":39273271,"html_url":"https://github.com/cerebris/jsonapi-resources/pull/290","diff_url":"https://github.com/cerebris/jsonapi-resources/pull/290.diff","patch_url":"https://github.com/cerebris/jsonapi-resources/pull/290.patch","issue_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/290","number":290,"state":"open","locked":false,"title":"Configure exception class whitelist to be reraised by operations processors.","user":{"login":"barelyknown","id":693652,"avatar_url":"https://avatars.githubusercontent.com/u/693652?v=3","gravatar_id":"","url":"https://api.github.com/users/barelyknown","html_url":"https://github.com/barelyknown","followers_url":"https://api.github.com/users/barelyknown/followers","following_url":"https://api.github.com/users/barelyknown/following{/other_user}","gists_url":"https://api.github.com/users/barelyknown/gists{/gist_id}","starred_url":"https://api.github.com/users/barelyknown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barelyknown/subscriptions","organizations_url":"https://api.github.com/users/barelyknown/orgs","repos_url":"https://api.github.com/users/barelyknown/repos","events_url":"https://api.github.com/users/barelyknown/events{/privacy}","received_events_url":"https://api.github.com/users/barelyknown/received_events","type":"User","site_admin":false},"body":"For example, if you use Pundit for authorization, you might\r\nraise a `Pundit::NotAuthorizedError` at some point during operations\r\nprocessing. If you want to use Rails' `rescue_from` macro to\r\ncatch this error and render a 403 status code, you should add\r\nthe `Pundit::NotAuthorizedError` to the `exception_class_whitelist`.\r\n\r\n`JSONAPI.configuration.exception_class_whitelist = [Pundit::NotAuthorizedError]`","created_at":"2015-07-06T14:29:37Z","updated_at":"2015-07-06T14:29:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cerebris/jsonapi-resources/pulls/290/commits","review_comments_url":"https://api.github.com/repos/cerebris/jsonapi-resources/pulls/290/comments","review_comment_url":"https://api.github.com/repos/cerebris/jsonapi-resources/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/290/comments","statuses_url":"https://api.github.com/repos/cerebris/jsonapi-resources/statuses/7e1637186105bf4aa7c4229e12990e9f0b5115ab","head":{"label":"togglepro:exception_whitelist","ref":"exception_whitelist","sha":"7e1637186105bf4aa7c4229e12990e9f0b5115ab","user":{"login":"togglepro","id":9037970,"avatar_url":"https://avatars.githubusercontent.com/u/9037970?v=3","gravatar_id":"","url":"https://api.github.com/users/togglepro","html_url":"https://github.com/togglepro","followers_url":"https://api.github.com/users/togglepro/followers","following_url":"https://api.github.com/users/togglepro/following{/other_user}","gists_url":"https://api.github.com/users/togglepro/gists{/gist_id}","starred_url":"https://api.github.com/users/togglepro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/togglepro/subscriptions","organizations_url":"https://api.github.com/users/togglepro/orgs","repos_url":"https://api.github.com/users/togglepro/repos","events_url":"https://api.github.com/users/togglepro/events{/privacy}","received_events_url":"https://api.github.com/users/togglepro/received_events","type":"Organization","site_admin":false},"repo":{"id":29021643,"name":"jsonapi-resources","full_name":"togglepro/jsonapi-resources","owner":{"login":"togglepro","id":9037970,"avatar_url":"https://avatars.githubusercontent.com/u/9037970?v=3","gravatar_id":"","url":"https://api.github.com/users/togglepro","html_url":"https://github.com/togglepro","followers_url":"https://api.github.com/users/togglepro/followers","following_url":"https://api.github.com/users/togglepro/following{/other_user}","gists_url":"https://api.github.com/users/togglepro/gists{/gist_id}","starred_url":"https://api.github.com/users/togglepro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/togglepro/subscriptions","organizations_url":"https://api.github.com/users/togglepro/orgs","repos_url":"https://api.github.com/users/togglepro/repos","events_url":"https://api.github.com/users/togglepro/events{/privacy}","received_events_url":"https://api.github.com/users/togglepro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/togglepro/jsonapi-resources","description":"","fork":true,"url":"https://api.github.com/repos/togglepro/jsonapi-resources","forks_url":"https://api.github.com/repos/togglepro/jsonapi-resources/forks","keys_url":"https://api.github.com/repos/togglepro/jsonapi-resources/keys{/key_id}","collaborators_url":"https://api.github.com/repos/togglepro/jsonapi-resources/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/togglepro/jsonapi-resources/teams","hooks_url":"https://api.github.com/repos/togglepro/jsonapi-resources/hooks","issue_events_url":"https://api.github.com/repos/togglepro/jsonapi-resources/issues/events{/number}","events_url":"https://api.github.com/repos/togglepro/jsonapi-resources/events","assignees_url":"https://api.github.com/repos/togglepro/jsonapi-resources/assignees{/user}","branches_url":"https://api.github.com/repos/togglepro/jsonapi-resources/branches{/branch}","tags_url":"https://api.github.com/repos/togglepro/jsonapi-resources/tags","blobs_url":"https://api.github.com/repos/togglepro/jsonapi-resources/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/togglepro/jsonapi-resources/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/togglepro/jsonapi-resources/git/refs{/sha}","trees_url":"https://api.github.com/repos/togglepro/jsonapi-resources/git/trees{/sha}","statuses_url":"https://api.github.com/repos/togglepro/jsonapi-resources/statuses/{sha}","languages_url":"https://api.github.com/repos/togglepro/jsonapi-resources/languages","stargazers_url":"https://api.github.com/repos/togglepro/jsonapi-resources/stargazers","contributors_url":"https://api.github.com/repos/togglepro/jsonapi-resources/contributors","subscribers_url":"https://api.github.com/repos/togglepro/jsonapi-resources/subscribers","subscription_url":"https://api.github.com/repos/togglepro/jsonapi-resources/subscription","commits_url":"https://api.github.com/repos/togglepro/jsonapi-resources/commits{/sha}","git_commits_url":"https://api.github.com/repos/togglepro/jsonapi-resources/git/commits{/sha}","comments_url":"https://api.github.com/repos/togglepro/jsonapi-resources/comments{/number}","issue_comment_url":"https://api.github.com/repos/togglepro/jsonapi-resources/issues/comments{/number}","contents_url":"https://api.github.com/repos/togglepro/jsonapi-resources/contents/{+path}","compare_url":"https://api.github.com/repos/togglepro/jsonapi-resources/compare/{base}...{head}","merges_url":"https://api.github.com/repos/togglepro/jsonapi-resources/merges","archive_url":"https://api.github.com/repos/togglepro/jsonapi-resources/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/togglepro/jsonapi-resources/downloads","issues_url":"https://api.github.com/repos/togglepro/jsonapi-resources/issues{/number}","pulls_url":"https://api.github.com/repos/togglepro/jsonapi-resources/pulls{/number}","milestones_url":"https://api.github.com/repos/togglepro/jsonapi-resources/milestones{/number}","notifications_url":"https://api.github.com/repos/togglepro/jsonapi-resources/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/togglepro/jsonapi-resources/labels{/name}","releases_url":"https://api.github.com/repos/togglepro/jsonapi-resources/releases{/id}","created_at":"2015-01-09T15:22:07Z","updated_at":"2015-04-24T15:28:26Z","pushed_at":"2015-07-06T14:28:17Z","git_url":"git://github.com/togglepro/jsonapi-resources.git","ssh_url":"git@github.com:togglepro/jsonapi-resources.git","clone_url":"https://github.com/togglepro/jsonapi-resources.git","svn_url":"https://github.com/togglepro/jsonapi-resources","homepage":null,"size":1323,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cerebris:master","ref":"master","sha":"5773f49d24a3bff4e66e3998a4d6d8ad723954e7","user":{"login":"cerebris","id":326811,"avatar_url":"https://avatars.githubusercontent.com/u/326811?v=3","gravatar_id":"","url":"https://api.github.com/users/cerebris","html_url":"https://github.com/cerebris","followers_url":"https://api.github.com/users/cerebris/followers","following_url":"https://api.github.com/users/cerebris/following{/other_user}","gists_url":"https://api.github.com/users/cerebris/gists{/gist_id}","starred_url":"https://api.github.com/users/cerebris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerebris/subscriptions","organizations_url":"https://api.github.com/users/cerebris/orgs","repos_url":"https://api.github.com/users/cerebris/repos","events_url":"https://api.github.com/users/cerebris/events{/privacy}","received_events_url":"https://api.github.com/users/cerebris/received_events","type":"Organization","site_admin":false},"repo":{"id":18248068,"name":"jsonapi-resources","full_name":"cerebris/jsonapi-resources","owner":{"login":"cerebris","id":326811,"avatar_url":"https://avatars.githubusercontent.com/u/326811?v=3","gravatar_id":"","url":"https://api.github.com/users/cerebris","html_url":"https://github.com/cerebris","followers_url":"https://api.github.com/users/cerebris/followers","following_url":"https://api.github.com/users/cerebris/following{/other_user}","gists_url":"https://api.github.com/users/cerebris/gists{/gist_id}","starred_url":"https://api.github.com/users/cerebris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerebris/subscriptions","organizations_url":"https://api.github.com/users/cerebris/orgs","repos_url":"https://api.github.com/users/cerebris/repos","events_url":"https://api.github.com/users/cerebris/events{/privacy}","received_events_url":"https://api.github.com/users/cerebris/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cerebris/jsonapi-resources","description":"","fork":false,"url":"https://api.github.com/repos/cerebris/jsonapi-resources","forks_url":"https://api.github.com/repos/cerebris/jsonapi-resources/forks","keys_url":"https://api.github.com/repos/cerebris/jsonapi-resources/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cerebris/jsonapi-resources/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cerebris/jsonapi-resources/teams","hooks_url":"https://api.github.com/repos/cerebris/jsonapi-resources/hooks","issue_events_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/events{/number}","events_url":"https://api.github.com/repos/cerebris/jsonapi-resources/events","assignees_url":"https://api.github.com/repos/cerebris/jsonapi-resources/assignees{/user}","branches_url":"https://api.github.com/repos/cerebris/jsonapi-resources/branches{/branch}","tags_url":"https://api.github.com/repos/cerebris/jsonapi-resources/tags","blobs_url":"https://api.github.com/repos/cerebris/jsonapi-resources/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cerebris/jsonapi-resources/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cerebris/jsonapi-resources/git/refs{/sha}","trees_url":"https://api.github.com/repos/cerebris/jsonapi-resources/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cerebris/jsonapi-resources/statuses/{sha}","languages_url":"https://api.github.com/repos/cerebris/jsonapi-resources/languages","stargazers_url":"https://api.github.com/repos/cerebris/jsonapi-resources/stargazers","contributors_url":"https://api.github.com/repos/cerebris/jsonapi-resources/contributors","subscribers_url":"https://api.github.com/repos/cerebris/jsonapi-resources/subscribers","subscription_url":"https://api.github.com/repos/cerebris/jsonapi-resources/subscription","commits_url":"https://api.github.com/repos/cerebris/jsonapi-resources/commits{/sha}","git_commits_url":"https://api.github.com/repos/cerebris/jsonapi-resources/git/commits{/sha}","comments_url":"https://api.github.com/repos/cerebris/jsonapi-resources/comments{/number}","issue_comment_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/comments{/number}","contents_url":"https://api.github.com/repos/cerebris/jsonapi-resources/contents/{+path}","compare_url":"https://api.github.com/repos/cerebris/jsonapi-resources/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cerebris/jsonapi-resources/merges","archive_url":"https://api.github.com/repos/cerebris/jsonapi-resources/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cerebris/jsonapi-resources/downloads","issues_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues{/number}","pulls_url":"https://api.github.com/repos/cerebris/jsonapi-resources/pulls{/number}","milestones_url":"https://api.github.com/repos/cerebris/jsonapi-resources/milestones{/number}","notifications_url":"https://api.github.com/repos/cerebris/jsonapi-resources/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cerebris/jsonapi-resources/labels{/name}","releases_url":"https://api.github.com/repos/cerebris/jsonapi-resources/releases{/id}","created_at":"2014-03-29T18:45:23Z","updated_at":"2015-07-06T13:49:44Z","pushed_at":"2015-07-06T14:29:38Z","git_url":"git://github.com/cerebris/jsonapi-resources.git","ssh_url":"git@github.com:cerebris/jsonapi-resources.git","clone_url":"https://github.com/cerebris/jsonapi-resources.git","svn_url":"https://github.com/cerebris/jsonapi-resources","homepage":null,"size":2796,"stargazers_count":441,"watchers_count":441,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":54,"forks":61,"open_issues":54,"watchers":441,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cerebris/jsonapi-resources/pulls/290"},"html":{"href":"https://github.com/cerebris/jsonapi-resources/pull/290"},"issue":{"href":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/290"},"comments":{"href":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/290/comments"},"review_comments":{"href":"https://api.github.com/repos/cerebris/jsonapi-resources/pulls/290/comments"},"review_comment":{"href":"https://api.github.com/repos/cerebris/jsonapi-resources/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cerebris/jsonapi-resources/pulls/290/commits"},"statuses":{"href":"https://api.github.com/repos/cerebris/jsonapi-resources/statuses/7e1637186105bf4aa7c4229e12990e9f0b5115ab"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":72,"deletions":9,"changed_files":7}}