twilio / twilio-go

A Go package for communicating with the Twilio API.
MIT License
272 stars 40 forks source link

chore: Changes to TwiML #187

Closed claudiachua closed 1 year ago

claudiachua commented 1 year ago

Changes:

  1. Changing the naming of Element struct property Nouns to InnerElement provides better clarity for users. As twiml allows both nested nouns and verbs.

  2. ToXML() function is modified to return both response and error. Users will receive an error message if the XML Structure is incorrect

Related PR: https://code.hq.twilio.com/twilio/yoyodyne/pull/556

sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication