Sha256: a7d72ca6b9bad1a58d76f176163975134abb001b619333bd9ebd6616ba2ebff8

Contents?: true

Size: 262 Bytes

Versions: 66

Compression:

Stored size: 262 Bytes

Contents

module Twilio
  module TwiML
    class Response

      attr_reader :text
      alias_method :to_xml , :text

      def initialize(&block)
        xml = Builder::XmlMarkup.new
        xml.instruct!
        @text = xml.Response &block
      end

    end
  end
end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc21 lib/twilio-ruby/twiml/response.rb
twilio-ruby-5.0.0.rc20 lib/twilio-ruby/twiml/response.rb
twilio-ruby-5.0.0.rc19 lib/twilio-ruby/twiml/response.rb
twilio-ruby-5.0.0.rc18 lib/twilio-ruby/twiml/response.rb
twilio-ruby-4.13.0 lib/twilio-ruby/twiml/response.rb
twilio-ruby-5.0.0.rc17 lib/twilio-ruby/twiml/response.rb
twilio-ruby-5.0.0.rc16 lib/twilio-ruby/twiml/response.rb
twilio-ruby-5.0.0.rc15 lib/twilio-ruby/twiml/response.rb
twilio-ruby-4.12.1 lib/twilio-ruby/twiml/response.rb
twilio-ruby-5.0.0.rc14 lib/twilio-ruby/twiml/response.rb
twilio-ruby-5.0.0.rc13 lib/twilio-ruby/twiml/response.rb
twilio-ruby-5.0.0.rc12 lib/twilio-ruby/twiml/response.rb
twilio-ruby-5.0.0.rc11 lib/twilio-ruby/twiml/response.rb
twilio-ruby-5.0.0.rc10 lib/twilio-ruby/twiml/response.rb
twilio-ruby-5.0.0.rc9 lib/twilio-ruby/twiml/response.rb
twilio-ruby-5.0.0.rc8 lib/twilio-ruby/twiml/response.rb
twilio-ruby-5.0.0.rc7 lib/twilio-ruby/twiml/response.rb
twilio-ruby-5.0.0.rc5 lib/twilio-ruby/twiml/response.rb
twilio-ruby-5.0.0.rc4 lib/twilio-ruby/twiml/response.rb
twilio-ruby-5.0.0.rc3 lib/twilio-ruby/twiml/response.rb