lib/punchblock/command/join.rb in punchblock-0.7.1 vs lib/punchblock/command/join.rb in punchblock-0.7.2
- old
+ new
@@ -6,11 +6,11 @@
##
# Create a join message
#
# @param [Hash] options
# @option options [String, Optional] :other_call_id the call ID to join
- # @option options [String, Optional] :mixer_id the mixer name to join
+ # @option options [String, Optional] :mixer_name the mixer name to join
# @option options [Symbol, Optional] :direction the direction in which media should flow
# @option options [Symbol, Optional] :media the method by which to negotiate media
#
# @return [Command::Join] a formatted Rayo join command
#
@@ -37,18 +37,18 @@
write_attr :'call-id', other
end
##
# @return [String] the mixer name to join
- def mixer_id
- read_attr :'mixer-id'
+ def mixer_name
+ read_attr :'mixer-name'
end
##
# @param [String] other the mixer name to join
- def mixer_id=(other)
- write_attr :'mixer-id', other
+ def mixer_name=(other)
+ write_attr :'mixer-name', other
end
##
# @return [String] the direction in which media should flow
def direction
@@ -72,10 +72,10 @@
def media=(other)
write_attr :media, other
end
def inspect_attributes # :nodoc:
- [:other_call_id, :mixer_id, :direction, :media] + super
+ [:other_call_id, :mixer_name, :direction, :media] + super
end
end # Join
end # Command
end # Punchblock