Skip to content

Commit

Permalink
Add support for "Get Contacts by Emails" endpoint
Browse files Browse the repository at this point in the history
- Add missing endpoint support
- Fix typos in CONTRIBUTING.md example
  • Loading branch information
funder7 committed Oct 27, 2023
1 parent a93d5eb commit 7406cc1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Hello! Thank you for choosing to help contribute to one of the SendGrid open source projects. There are many ways you can contribute and help is always welcome. We merely ask that you follow the following contribution policies.
Hello! Thank you for choosing to help contribute to one of the SendGrid open source projects. There are many ways you can contribute and help is always welcome. We merely ask that you follow the following contribution policies.

- [Improvements to the Codebase](#improvements-to-the-codebase)
- [Understanding the Code Base](#understanding-the-codebase)
Expand Down Expand Up @@ -61,7 +61,7 @@ An HTTP client with a fluent interface using method chaining and reflection. By

This allows for the following mapping from a URL to a method chain:

`/api_client/{api_key_id}/version` maps to `client->api_client().->_($api_key_id)->version-><method>()` where <method> is a [HTTP verb](lib/Client.php#L210).
`/api_client/{api_key_id}/version` maps to `$client->api_client()->_($api_key_id)->version-><method>()` where <method> is a [HTTP verb](lib/Client.php#L210).

**/lib/SendGrid/Config.php**

Expand Down Expand Up @@ -149,4 +149,4 @@ Please run your code through:
<a name="code-reviews"></a>
## Code Reviews
If you can, please look at open PRs and review them. Give feedback and help us merge these PRs much faster! If you don't know how, Github has some great [information on how to review a Pull Request](https://help.github.com/articles/about-pull-request-reviews/).
If you can, please look at open PRs and review them. Give feedback and help us merge these PRs much faster! If you don't know how, Github has some great [information on how to review a Pull Request](https://help.github.com/articles/about-pull-request-reviews/).
3 changes: 2 additions & 1 deletion lib/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
* Marketing
* @method Client marketing()
* @method Client contacts()
* @method Client emails()
* @method Client count()
* @method Client exports()
* @method Client imports()
Expand Down Expand Up @@ -650,4 +651,4 @@ public function __call($name, $args)

return $this->_($name);
}
}
}

0 comments on commit 7406cc1

Please sign in to comment.