lib/punchblock/command/join.rb in punchblock-0.11.0 vs lib/punchblock/command/join.rb in punchblock-0.12.0
- old
+ new
@@ -7,11 +7,11 @@
##
# Create a join message
#
# @param [Hash] options
- # @option options [String, Optional] :other_call_id the call ID to join
+ # @option options [String, Optional] :call_id the call ID 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
@@ -27,17 +27,17 @@
end
end
##
# @return [String] the call ID to join
- def other_call_id
+ def call_id
read_attr :'call-id'
end
##
# @param [String] other the call ID to join
- def other_call_id=(other)
+ def call_id=(other)
write_attr :'call-id', other
end
##
# @return [String] the mixer name to join
@@ -74,10 +74,10 @@
def media=(other)
write_attr :media, other
end
def inspect_attributes # :nodoc:
- [:other_call_id, :mixer_name, :direction, :media] + super
+ [:call_id, :mixer_name, :direction, :media] + super
end
end # Join
end # Command
end # Punchblock