Class: Twilio::TwiML::Identity

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

Overview

<Identity> TwiML Noun

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(client_identity, **keyword_args) {|_self| ... } ⇒ Identity

Returns a new instance of Identity.

Yields:

  • (_self)

Yield Parameters:



1880
1881
1882
1883
1884
1885
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 1880

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