Class: Punchblock::Event::Unjoined

Inherits:
Punchblock::Event show all
Defined in:
lib/punchblock/event/unjoined.rb

Constant Summary

Constants inherited from RayoNode

RayoNode::InvalidNodeError

Instance Attribute Summary

Attributes inherited from RayoNode

#client, #component_id, #connection, #domain, #original_component, #target_call_id, #target_mixer_name

Instance Method Summary collapse

Methods inherited from Punchblock::Event

new

Methods inherited from RayoNode

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

Instance Method Details

#call_idString

Returns the call ID that was unjoined.

Returns:

  • (String)

    the call ID that was unjoined



10
11
12
# File 'lib/punchblock/event/unjoined.rb', line 10

def call_id
  read_attr :'call-id'
end

#call_id=(other) ⇒ Object

Parameters:

  • other (String)

    the call ID that was unjoined



16
17
18
# File 'lib/punchblock/event/unjoined.rb', line 16

def call_id=(other)
  write_attr :'call-id', other
end

#inspect_attributesObject

:nodoc:



32
33
34
# File 'lib/punchblock/event/unjoined.rb', line 32

def inspect_attributes # :nodoc:
  [:call_id, :mixer_name] + super
end

#mixer_nameString

Returns the mixer name that was unjoined.

Returns:

  • (String)

    the mixer name that was unjoined



22
23
24
# File 'lib/punchblock/event/unjoined.rb', line 22

def mixer_name
  read_attr :'mixer-name'
end

#mixer_name=(other) ⇒ Object

Parameters:

  • other (String)

    the mixer name that was unjoined



28
29
30
# File 'lib/punchblock/event/unjoined.rb', line 28

def mixer_name=(other)
  write_attr :'mixer-name', other
end