Class: Punchblock::Command::Unjoin

Inherits:
Punchblock::CommandNode show all
Defined in:
lib/punchblock/command/unjoin.rb

Instance Attribute Summary

Attributes inherited from RayoNode

#client, #connection, #original_component

Instance Method Summary collapse

Methods inherited from Punchblock::CommandNode

#initialize, #response, #response=

Methods inherited from RayoNode

#==, class_from_registration, from_xml, #inherit, #inspect, #rayo_children, register, #source, #to_rayo, #to_xml

Constructor Details

This class inherits a constructor from Punchblock::CommandNode

Instance Method Details

#call_uriString

Returns the call ID to unjoin

Returns:

  • (String)

    the call ID to unjoin


9
# File 'lib/punchblock/command/unjoin.rb', line 9

attribute :call_uri

#mixer_nameString

Returns the mixer name to unjoin

Returns:

  • (String)

    the mixer name to unjoin


13
# File 'lib/punchblock/command/unjoin.rb', line 13

attribute :mixer_name

#rayo_attributesObject


15
16
17
# File 'lib/punchblock/command/unjoin.rb', line 15

def rayo_attributes
  {'call-uri' => call_uri, 'mixer-name' => mixer_name}
end