Class: Twilio::TwiML::Hangup

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

Overview

<Hangup> TwiML Verb

Instance Attribute Summary

Attributes inherited from TwiML

#indent, #name

Instance Method Summary collapse

Methods inherited from TwiML

#append, to_lower_camel_case, #to_s, #xml

Constructor Details

#initialize(**keyword_args) {|_self| ... } ⇒ Hangup

Returns a new instance of Hangup.

Yields:

  • (_self)

Yield Parameters:



290
291
292
293
294
295
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 290

def initialize(**keyword_args)
  super(**keyword_args)
  @name = 'Hangup'

  yield(self) if block_given?
end