lib/punchblock/event/unjoined.rb in punchblock-0.8.3 vs lib/punchblock/event/unjoined.rb in punchblock-0.8.4
- old
+ new
@@ -2,24 +2,9 @@
class Event
class Unjoined < Event
register :unjoined, :core
##
- # Create an unjoined event
- #
- # @param [Hash] options
- # @option options [String, Optional] :other_call_id the call ID that was unjoined
- # @option options [String, Optional] :mixer_name the mixer name that was unjoined
- #
- # @return [Event::Unjoined] a formatted Rayo unjoined event
- #
- def self.new(options = {})
- super().tap do |new_node|
- options.each_pair { |k,v| new_node.send :"#{k}=", v }
- end
- end
-
- ##
# @return [String] the call ID that was unjoined
def other_call_id
read_attr :'call-id'
end