Skip to content

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

Merged
merged 1 commit into from Jul 25, 2014

2 participants

@LeoAdamek

#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

@carlosdp
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
@carlosdp
Twilio member

Thanks!

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.