sendgrid / sendgrid-ruby

The Official Twilio SendGrid Led, Community Driven Ruby API Library
https://sendgrid.com
MIT License
620 stars 324 forks source link

docs Fix Email Activity listing example #491

Open rickychilcott opened 2 years ago

rickychilcott commented 2 years ago

While trying to query email activity, I ran into a problem.

The REST API documentation says that it needs to be URL escaped, but the API client escapes it for you. So this example effectively is double-escaping and won't work (it raises an API error with reports of being unable to parse the query).

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

Please enter each Issue number you are resolving in your PR after one of the following words [Fixes, Closes, Resolves].

Checklist