Class: Twilio::TwiML::Text

Inherits:
LeafNode show all
Defined in:
lib/twilio-ruby/twiml/twiml.rb

Instance Method Summary collapse

Methods inherited from LeafNode

#initialize

Constructor Details

This class inherits a constructor from Twilio::TwiML::LeafNode

Instance Method Details

#xml(document) ⇒ Object


24
25
26
# File 'lib/twilio-ruby/twiml/twiml.rb', line 24

def xml(document)
  Nokogiri::XML::Text.new(@content, document)
end