class Twilio::TwiML::Task
<Task> TwiML
Noun
Public Class Methods
new(body, **keyword_args) { |self| ... }
click to toggle source
Calls superclass method
Twilio::TwiML::TwiML::new
# File lib/twilio-ruby/twiml/voice_response.rb 913 def initialize(body, **keyword_args) 914 super(**keyword_args) 915 @name = 'Task' 916 @value = body 917 yield(self) if block_given? 918 end