class Twilio::TwiML::Play

<Play> TwiML Verb

Public Class Methods

new(url: nil, **keyword_args) { |self| ... } click to toggle source
Calls superclass method Twilio::TwiML::TwiML::new
    # File lib/twilio-ruby/twiml/voice_response.rb
514 def initialize(url: nil, **keyword_args)
515   super(**keyword_args)
516   @name = 'Play'
517   @value = url unless url.nil?
518   yield(self) if block_given?
519 end