Method: Twilio::TwiML::Redirect#initialize
- Defined in:
-
lib/twilio-ruby/twiml/voice_response.rb,
lib/twilio-ruby/twiml/messaging_response.rb
Returns a new instance of Redirect.
1506 1507 1508 1509 1510 1511 |
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 1506 def initialize(url, **keyword_args) super(**keyword_args) @name = 'Redirect' @value = url yield(self) if block_given? end |