Class: Twilio::TwiML::Client

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

Overview

<Client> TwiML Noun

Instance Attribute Summary

Attributes inherited from TwiML

#name

Instance Method Summary collapse

Methods inherited from TwiML

#append, to_lower_camel_case, #to_s, #xml

Constructor Details

#initialize(name, **keyword_args) {|_self| ... } ⇒ Client

Returns a new instance of Client.

Yields:

  • (_self)

Yield Parameters:



533
534
535
536
537
538
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 533

def initialize(name, **keyword_args)
  super(**keyword_args)
  @name = 'Client'
  @value = name
  yield(self) if block_given?
end