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:


1051
1052
1053
1054
1055
1056
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 1051

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