Skip to content

Alias #to_xml to #text for Twilio::TwiML::Response #90

merged 1 commit into from Jul 25, 2014

2 participants


#to_xml is the more common way to get an XML serialized object, and some libraries/frameworks (e.g. Grape) expect a #to_xml method to exist.

Aliases #to_xml to #text

Twilio member

👍 more conforming with popular convention.

@carlosdp carlosdp merged commit 0137ff8 into twilio:master Jul 25, 2014

1 check passed

Details default The Travis CI build passed
Twilio member


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.