Skip to content

Commit

Permalink
Merge pull request #435 from mrmxs/issue-#336
Browse files Browse the repository at this point in the history
Change spam_report() to spam_reports() in documentation and examples
  • Loading branch information
thinkingserious authored Oct 4, 2017
2 parents dab4dd9 + 5c3ca1c commit b1835dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3432,7 +3432,7 @@ For more information, please see our [User Guide](https://sendgrid.com/docs/User

```php
$email = "test_url_param";
$response = $sg->client->suppression()->spam_report()->_($email)->get();
$response = $sg->client->suppression()->spam_reports()->_($email)->get();
echo $response->statusCode();
echo $response->body();
print_r($response->headers());
Expand All @@ -3450,7 +3450,7 @@ For more information, please see our [User Guide](https://sendgrid.com/docs/User

```php
$email = "test_url_param";
$response = $sg->client->suppression()->spam_report()->_($email)->delete();
$response = $sg->client->suppression()->spam_reports()->_($email)->delete();
echo $response->statusCode();
echo $response->body();
print_r($response->headers());
Expand Down
4 changes: 2 additions & 2 deletions examples/suppression/suppression.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
// GET /suppression/spam_report/{email} #

$email = "test_url_param";
$response = $sg->client->suppression()->spam_report()->_($email)->get();
$response = $sg->client->suppression()->spam_reports()->_($email)->get();
echo $response->statusCode();
echo $response->body();
print_r($response->headers());
Expand All @@ -160,7 +160,7 @@
// DELETE /suppression/spam_report/{email} #

$email = "test_url_param";
$response = $sg->client->suppression()->spam_report()->_($email)->delete();
$response = $sg->client->suppression()->spam_reports()->_($email)->delete();
echo $response->statusCode();
echo $response->body();
print_r($response->headers());
Expand Down

0 comments on commit b1835dc

Please sign in to comment.