Skip to content

Breaking Change in build_request? #119

Closed

Description

@DanielWright

Issue Summary

Prior to #95 being merged, we had code like the following that worked:

sendgrid.patch(request_body: an_array)

This worked because an_array would, along the way to Net::HTTP, be encoded to JSON. #95 changed this behavior, as now only hashes are automatically JSON-encoded.

Was this change in behavior intentional, or was our usage unexpected?

Activity

  1. childish-sambino commented on Feb 25, 2020

    @childish-sambino
    Contributor

    Duplicates #117

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions