Class: Twilio::TwiML::Record

Inherits:
TwiML
  • Object
show all
Defined in:
lib/twilio-ruby/twiml/voice_response.rb

Overview

<Record> TwiML Verb

Instance Attribute Summary

Attributes inherited from TwiML

#name

Instance Method Summary collapse

Methods inherited from TwiML

#add_child, #add_text, #append, #comment, to_lower_camel_case, #to_s, #xml

Constructor Details

#initialize(**keyword_args) {|_self| ... } ⇒ Record

Returns a new instance of Record.

Yields:

  • (_self)

Yield Parameters:



1404
1405
1406
1407
1408
1409
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 1404

def initialize(**keyword_args)
  super(**keyword_args)
  @name = 'Record'

  yield(self) if block_given?
end