{"action":"opened","number":383,"pull_request":{"url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/383","id":256619372,"node_id":"MDExOlB1bGxSZXF1ZXN0MjU2NjE5Mzcy","html_url":"https://github.com/sendgrid/sendgrid-ruby/pull/383","diff_url":"https://github.com/sendgrid/sendgrid-ruby/pull/383.diff","patch_url":"https://github.com/sendgrid/sendgrid-ruby/pull/383.patch","issue_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues/383","number":383,"state":"open","locked":false,"title":"Update spam report endpoint to reports","user":{"login":"bermannoah","id":15199622,"node_id":"MDQ6VXNlcjE1MTk5NjIy","avatar_url":"https://avatars2.githubusercontent.com/u/15199622?v=4","gravatar_id":"","url":"https://api.github.com/users/bermannoah","html_url":"https://github.com/bermannoah","followers_url":"https://api.github.com/users/bermannoah/followers","following_url":"https://api.github.com/users/bermannoah/following{/other_user}","gists_url":"https://api.github.com/users/bermannoah/gists{/gist_id}","starred_url":"https://api.github.com/users/bermannoah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bermannoah/subscriptions","organizations_url":"https://api.github.com/users/bermannoah/orgs","repos_url":"https://api.github.com/users/bermannoah/repos","events_url":"https://api.github.com/users/bermannoah/events{/privacy}","received_events_url":"https://api.github.com/users/bermannoah/received_events","type":"User","site_admin":false},"body":"<!--\r\nWe appreciate the effort for this pull request but before that please make sure you read the contribution guidelines given above, then fill out the blanks below.\r\n\r\n\r\nPlease enter each Issue number you are resolving in your PR after one of the following words [Fixes, Closes, Resolves]. This will auto-link these issues and close them when this PR is merged!\r\ne.g. \r\nFixes #1\r\nCloses #2\r\n-->\r\nFixes #382. \r\n\r\n### Checklist\r\n- [x] I have made a material change to the repo (functionality, testing, spelling, grammar)\r\n- [x] I have read the [Contribution Guide] and my PR follows them.\r\n- [x] I updated my branch with the master branch.\r\n- [x] I have added tests that prove my fix is effective or that my feature works\r\n- [x] I have added necessary documentation about the functionality in the appropriate .md file\r\n- [x] I have added in line documentation to the code I modified\r\n\r\n### Short description of what this PR does:\r\nUpdates the single spam report retrieval and deletion endpoints to be in line with the base API. https://sendgrid.com/docs/API_Reference/Web_API_v3/spam_reports.html#Get-a-specific-spam-report-GET","created_at":"2019-02-27T10:21:26Z","updated_at":"2019-02-27T10:21:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/383/commits","review_comments_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/383/comments","review_comment_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues/383/comments","statuses_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/statuses/3e641f0131433eda10e2613c845a4b63e139febf","head":{"label":"bermannoah:update-spam-reports-endpoint","ref":"update-spam-reports-endpoint","sha":"3e641f0131433eda10e2613c845a4b63e139febf","user":{"login":"bermannoah","id":15199622,"node_id":"MDQ6VXNlcjE1MTk5NjIy","avatar_url":"https://avatars2.githubusercontent.com/u/15199622?v=4","gravatar_id":"","url":"https://api.github.com/users/bermannoah","html_url":"https://github.com/bermannoah","followers_url":"https://api.github.com/users/bermannoah/followers","following_url":"https://api.github.com/users/bermannoah/following{/other_user}","gists_url":"https://api.github.com/users/bermannoah/gists{/gist_id}","starred_url":"https://api.github.com/users/bermannoah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bermannoah/subscriptions","organizations_url":"https://api.github.com/users/bermannoah/orgs","repos_url":"https://api.github.com/users/bermannoah/repos","events_url":"https://api.github.com/users/bermannoah/events{/privacy}","received_events_url":"https://api.github.com/users/bermannoah/received_events","type":"User","site_admin":false},"repo":{"id":172890518,"node_id":"MDEwOlJlcG9zaXRvcnkxNzI4OTA1MTg=","name":"sendgrid-ruby","full_name":"bermannoah/sendgrid-ruby","private":false,"owner":{"login":"bermannoah","id":15199622,"node_id":"MDQ6VXNlcjE1MTk5NjIy","avatar_url":"https://avatars2.githubusercontent.com/u/15199622?v=4","gravatar_id":"","url":"https://api.github.com/users/bermannoah","html_url":"https://github.com/bermannoah","followers_url":"https://api.github.com/users/bermannoah/followers","following_url":"https://api.github.com/users/bermannoah/following{/other_user}","gists_url":"https://api.github.com/users/bermannoah/gists{/gist_id}","starred_url":"https://api.github.com/users/bermannoah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bermannoah/subscriptions","organizations_url":"https://api.github.com/users/bermannoah/orgs","repos_url":"https://api.github.com/users/bermannoah/repos","events_url":"https://api.github.com/users/bermannoah/events{/privacy}","received_events_url":"https://api.github.com/users/bermannoah/received_events","type":"User","site_admin":false},"html_url":"https://github.com/bermannoah/sendgrid-ruby","description":"The Official SendGrid Led, Community Driven Ruby API Library","fork":true,"url":"https://api.github.com/repos/bermannoah/sendgrid-ruby","forks_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/forks","keys_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/teams","hooks_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/hooks","issue_events_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/events","assignees_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/tags","blobs_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/languages","stargazers_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/stargazers","contributors_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/contributors","subscribers_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/subscribers","subscription_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/subscription","commits_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/merges","archive_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/downloads","issues_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/labels{/name}","releases_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/bermannoah/sendgrid-ruby/deployments","created_at":"2019-02-27T10:03:42Z","updated_at":"2019-02-27T10:03:44Z","pushed_at":"2019-02-27T10:14:30Z","git_url":"git://github.com/bermannoah/sendgrid-ruby.git","ssh_url":"git@github.com:bermannoah/sendgrid-ruby.git","clone_url":"https://github.com/bermannoah/sendgrid-ruby.git","svn_url":"https://github.com/bermannoah/sendgrid-ruby","homepage":"https://sendgrid.com","size":671,"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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sendgrid:master","ref":"master","sha":"5c51a296d3734daecbc4ed5b666fae69cdafa80b","user":{"login":"sendgrid","id":181234,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4MTIzNA==","avatar_url":"https://avatars0.githubusercontent.com/u/181234?v=4","gravatar_id":"","url":"https://api.github.com/users/sendgrid","html_url":"https://github.com/sendgrid","followers_url":"https://api.github.com/users/sendgrid/followers","following_url":"https://api.github.com/users/sendgrid/following{/other_user}","gists_url":"https://api.github.com/users/sendgrid/gists{/gist_id}","starred_url":"https://api.github.com/users/sendgrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendgrid/subscriptions","organizations_url":"https://api.github.com/users/sendgrid/orgs","repos_url":"https://api.github.com/users/sendgrid/repos","events_url":"https://api.github.com/users/sendgrid/events{/privacy}","received_events_url":"https://api.github.com/users/sendgrid/received_events","type":"Organization","site_admin":false},"repo":{"id":20687208,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4NzIwOA==","name":"sendgrid-ruby","full_name":"sendgrid/sendgrid-ruby","private":false,"owner":{"login":"sendgrid","id":181234,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4MTIzNA==","avatar_url":"https://avatars0.githubusercontent.com/u/181234?v=4","gravatar_id":"","url":"https://api.github.com/users/sendgrid","html_url":"https://github.com/sendgrid","followers_url":"https://api.github.com/users/sendgrid/followers","following_url":"https://api.github.com/users/sendgrid/following{/other_user}","gists_url":"https://api.github.com/users/sendgrid/gists{/gist_id}","starred_url":"https://api.github.com/users/sendgrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendgrid/subscriptions","organizations_url":"https://api.github.com/users/sendgrid/orgs","repos_url":"https://api.github.com/users/sendgrid/repos","events_url":"https://api.github.com/users/sendgrid/events{/privacy}","received_events_url":"https://api.github.com/users/sendgrid/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/sendgrid/sendgrid-ruby","description":"The Official SendGrid Led, Community Driven Ruby API Library","fork":false,"url":"https://api.github.com/repos/sendgrid/sendgrid-ruby","forks_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/forks","keys_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/teams","hooks_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/hooks","issue_events_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/events","assignees_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/tags","blobs_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/languages","stargazers_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/stargazers","contributors_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/contributors","subscribers_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/subscribers","subscription_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/subscription","commits_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/merges","archive_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/downloads","issues_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/labels{/name}","releases_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/sendgrid/sendgrid-ruby/deployments","created_at":"2014-06-10T13:56:38Z","updated_at":"2019-02-19T19:04:57Z","pushed_at":"2019-01-31T16:05:21Z","git_url":"git://github.com/sendgrid/sendgrid-ruby.git","ssh_url":"git@github.com:sendgrid/sendgrid-ruby.git","clone_url":"https://github.com/sendgrid/sendgrid-ruby.git","svn_url":"https://github.com/sendgrid/sendgrid-ruby","homepage":"https://sendgrid.com","size":671,"stargazers_count":366,"watchers_count":366,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":230,"mirror_url":null,"archived":false,"open_issues_count":108,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":230,"open_issues":108,"watchers":366,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/383"},"html":{"href":"https://github.com/sendgrid/sendgrid-ruby/pull/383"},"issue":{"href":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues/383"},"comments":{"href":"https://api.github.com/repos/sendgrid/sendgrid-ruby/issues/383/comments"},"review_comments":{"href":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/383/comments"},"review_comment":{"href":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sendgrid/sendgrid-ruby/pulls/383/commits"},"statuses":{"href":"https://api.github.com/repos/sendgrid/sendgrid-ruby/statuses/3e641f0131433eda10e2613c845a4b63e139febf"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":13,"deletions":13,"changed_files":3}}
{"actor":{"display_login":"bermannoah"}}