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.1.1 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.1.0 lib/twilio-ruby/twiml/response.rb
twilio-ruby-3.0.0 lib/twilio-ruby/twiml/response.rb
twilio-ruby-0.4.0 lib/twilio-ruby/twiml/response.rb
twilio-ruby-0.3.3 lib/twilio-ruby/twiml/response.rb
twilio-ruby-0.3.2 lib/twilio-ruby/twiml/response.rb
twilio-ruby-0.3.1 lib/twilio-ruby/twiml/response.rb
twilio-ruby-0.3.0 lib/twilio-ruby/twiml/response.rb