sendgrid / ruby-http-client

SendGrid's Ruby HTTP Client for calling APIs
https://sendgrid.com
MIT License
23 stars 54 forks source link

Gem Release 6.1.0 Passing Post Body Results in Error #117

Closed kjanoudi closed 4 years ago

kjanoudi commented 4 years ago

Issue Summary

When running version 6.1.0, and executing a call to a properly formatted request to the client.contactdb.recipients.post method, the resulting error is undefined methodbytesize' for #`

Steps to Reproduce

  1. Use gem version 6.1.0 (6.0.4 does not have this issue)
  2. Follow code steps here: https://github.com/sendgrid/sendgrid-ruby/blob/master/USAGE.md#post-contactdbrecipients
  3. See resulting error: undefined methodbytesize' for #`

Exception/Log

image

Technical details:

childish-sambino commented 4 years ago

Able to recreate this locally. Looks related to this change: https://github.com/sendgrid/ruby-http-client/pull/95

This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.