Class: Punchblock::Component::Tropo::Conference::Kick

Inherits:
Punchblock::CommandNode show all
Defined in:
lib/punchblock/component/tropo/conference.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from RayoNode

#call_id, #client, #component_id, #connection, #original_component

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Punchblock::CommandNode

#initialize, #response, #response=, #write_attr

Methods inherited from RayoNode

class_from_registration, #eql?, import, #inspect, #inspect_attributes, register, #source

Constructor Details

This class inherits a constructor from Punchblock::CommandNode

Class Method Details

.new(options = {}) ⇒ Object



317
318
319
320
321
# File 'lib/punchblock/component/tropo/conference.rb', line 317

def self.new(options = {})
  super.tap do |new_node|
    new_node.message = options[:message]
  end
end

Instance Method Details

#message=(m) ⇒ Object



323
324
325
# File 'lib/punchblock/component/tropo/conference.rb', line 323

def message=(m)
  self << m if m
end