Sha256: b10766422c57820ffb40dc1c976fb4e0d95ccda6d3936ec781f43f18038f6c60

Contents?: true

Size: 808 Bytes

Versions: 2

Compression:

Stored size: 808 Bytes

Contents

# encoding: utf-8

module Punchblock
  class Event
    class Unjoined < Event
      register :unjoined, :core

      ##
      # @return [String] the call ID that was unjoined
      def other_call_id
        read_attr :'call-id'
      end

      ##
      # @param [String] other the call ID that was unjoined
      def other_call_id=(other)
        write_attr :'call-id', other
      end

      ##
      # @return [String] the mixer name that was unjoined
      def mixer_name
        read_attr :'mixer-name'
      end

      ##
      # @param [String] other the mixer name that was unjoined
      def mixer_name=(other)
        write_attr :'mixer-name', other
      end

      def inspect_attributes # :nodoc:
        [:other_call_id, :mixer_name] + super
      end
    end # Unjoined
  end
end # Punchblock

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
punchblock-0.11.0 lib/punchblock/event/unjoined.rb
punchblock-0.10.0 lib/punchblock/event/unjoined.rb