lib/punchblock/command/unjoin.rb in punchblock-0.11.0 vs lib/punchblock/command/unjoin.rb in punchblock-0.12.0
- old
+ new
@@ -7,11 +7,11 @@
##
# Create an ujoin message
#
# @param [Hash] options
- # @option options [String, Optional] :other_call_id the call ID to unjoin
+ # @option options [String, Optional] :call_id the call ID to unjoin
# @option options [String, Optional] :mixer_name the mixer name to unjoin
#
# @return [Command::Unjoin] a formatted Rayo unjoin command
#
def self.new(options = {})
@@ -20,17 +20,17 @@
end
end
##
# @return [String] the call ID to unjoin
- def other_call_id
+ def call_id
read_attr :'call-id'
end
##
# @param [String] other the call ID to unjoin
- def other_call_id=(other)
+ def call_id=(other)
write_attr :'call-id', other
end
##
# @return [String] the mixer name to unjoin
@@ -43,10 +43,10 @@
def mixer_name=(other)
write_attr :'mixer-name', other
end
def inspect_attributes # :nodoc:
- [:other_call_id, :mixer_name] + super
+ [:call_id, :mixer_name] + super
end
end # Unjoin
end # Command
end # Punchblock