Vonage / vonage-ruby-sdk

Vonage REST API client for Ruby. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
https://developer.vonage.com
Apache License 2.0
217 stars 108 forks source link

DEVX-6439: Update Messages API Template Message class #242

Closed superchilled closed 2 years ago

superchilled commented 2 years ago

Reason for this PR

Due to an error in the Messages API spec for the WhatsApp Template type message, the SDK tested for the presence of the policy property in the whatsapp object of the WhatsApp Template message type. The spec incorrectly had this property as required, but it is in fact optional. See this JIRA ticket for additional context

This PR updated the Ruby SDK to remove a check that validates for the presence of that property.

What this PR does