Class: Punchblock::Event::Joined

Inherits:
Punchblock::Event show all
Defined in:
lib/punchblock/event/joined.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 joined.

Returns:

  • (String)

    the call ID that was joined



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

def call_id
  read_attr :'call-id'
end

#call_id=(other) ⇒ Object

Parameters:

  • other (String)

    the call ID that was joined



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

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

#inspect_attributesObject

:nodoc:



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

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

#mixer_nameString

Returns the mixer name that was joined.

Returns:

  • (String)

    the mixer name that was joined



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

def mixer_name
  read_attr :'mixer-name'
end

#mixer_name=(other) ⇒ Object

Parameters:

  • other (String)

    the mixer name that was joined



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

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