docs/usage/twiml.rst in twilio-ruby-3.14.2 vs docs/usage/twiml.rst in twilio-ruby-3.14.3

- old
+ new

@@ -16,11 +16,11 @@ .. code-block:: ruby require 'twilio-ruby' Twilio::TwiML::Response.new do |r| - r.Say "Hello" + r.Say "Hello" end.text .. code-block:: xml <?xml version="1.0" encoding="utf-8"?> @@ -33,30 +33,30 @@ .. code-block:: ruby require 'twilio-ruby' Twilio::TwiML::Response.new do |r| - r.Play "https://api.twilio.com/cowbell.mp3", loop: 5 + r.Play "https://api.twilio.com/cowbell.mp3", loop: 5 end.text .. code-block:: xml <?xml version="1.0" encoding="utf-8"?> <Response> - <Play loop="3">https://api.twilio.com/cowbell.mp3</Play> + <Play loop="3">https://api.twilio.com/cowbell.mp3</Play> <Response> Any example of nesting nouns in verbs .. code-block:: ruby require 'twilio-ruby' Twilio::TwiML::Response.new do |r| - r.Say "hello" - r.Gather finishOnKey: => 4 do |g| - g.Say "world" - end + r.Say "hello" + r.Gather finishOnKey: => 4 do |g| + g.Say "world" + end end.text which returns the following .. code-block:: xml