Method: Twilio::TwiML::Enqueue#initialize
- Defined in:
- lib/twilio-ruby/twiml/voice_response.rb
#initialize(name: nil, **keyword_args) {|_self| ... } ⇒ Enqueue
Returns a new instance of Enqueue.
347 348 349 350 351 352 |
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 347 def initialize(name: nil, **keyword_args) super(**keyword_args) @name = 'Enqueue' @value = name unless name.nil? yield(self) if block_given? end |