Sha256: 53a7a95b24881c3149ebf9b9607592c78d92fd85aa8741a67188e15031a17ffc

Contents?: true

Size: 227 Bytes

Versions: 28

Compression:

Stored size: 227 Bytes

Contents

module Twilio
  module TwiML
    class Response

      attr_reader :text

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

    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
twilio-ruby-3.11.5 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.11.4 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.11.3 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.11.1 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.11.0 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.10.1 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.10.0 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.9.0 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.8.0 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.7.1 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.7.0 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.6.0 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.5.1 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.5.0 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.4.2 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.4.1 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.4.0 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.3.1 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.3.0 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.2.0 lib/twilio-ruby/twiml/response.rb