Skip to content

Commit

Permalink
Alias #to_xml to #text
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoAdamek committed Mar 26, 2014
1 parent 9bb1685 commit 65b2592
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/twilio-ruby/twiml/response.rb
Expand Up @@ -3,6 +3,7 @@ module TwiML
class Response

attr_reader :text
alias_method :to_xml , :text

def initialize(&block)
xml = Builder::XmlMarkup.new
Expand Down

0 comments on commit 65b2592

Please sign in to comment.