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-3.13.0 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.12.3 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.12.2 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.12.1 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.12.0 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.11.6 lib/twilio-ruby/twiml/response.rb