class Restcomm::RCML::Response

Attributes

text[R]
to_xml[R]

Public Class Methods

new(&block) click to toggle source
   # File lib/restcomm-ruby/twiml/response.rb
 8 def initialize(&block)
 9   xml = Builder::XmlMarkup.new
10   xml.instruct!
11   @text = xml.Response &block
12 end