Class: Twilio::TwiML::Sim

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

Overview

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

Returns a new instance of Sim.

Yields:

  • (_self)

Yield Parameters:



1819
1820
1821
1822
1823
1824
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 1819

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