Class: Punchblock::Event::Joined

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

Instance Attribute Summary

Attributes inherited from RayoNode

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

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

#inspect_attributesObject

:nodoc:



30
31
32
# File 'lib/punchblock/event/joined.rb', line 30

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

#mixer_nameString

Returns the mixer name that was joined.

Returns:

  • (String)

    the mixer name that was joined



20
21
22
# File 'lib/punchblock/event/joined.rb', line 20

def mixer_name
  read_attr :'mixer-name'
end

#mixer_name=(other) ⇒ Object

Parameters:

  • other (String)

    the mixer name that was joined



26
27
28
# File 'lib/punchblock/event/joined.rb', line 26

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

#other_call_idString

Returns the call ID that was joined.

Returns:

  • (String)

    the call ID that was joined



8
9
10
# File 'lib/punchblock/event/joined.rb', line 8

def other_call_id
  read_attr :'call-id'
end

#other_call_id=(other) ⇒ Object

Parameters:

  • other (String)

    the call ID that was joined



14
15
16
# File 'lib/punchblock/event/joined.rb', line 14

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