Class: Twilio::TwiML::ApplicationSid

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

Overview

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

Returns a new instance of ApplicationSid.

Yields:

  • (_self)

Yield Parameters:



1797
1798
1799
1800
1801
1802
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 1797

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