Sha256: 7a02dcaebf9a4d8d94d39f08e865b073e486be90d7e3af517f104c9830193be6

Contents?: true

Size: 789 Bytes

Versions: 4

Compression:

Stored size: 789 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

Version Path
punchblock-0.9.2 lib/punchblock/event/unjoined.rb
punchblock-0.9.1 lib/punchblock/event/unjoined.rb
punchblock-0.9.0 lib/punchblock/event/unjoined.rb
punchblock-0.8.4 lib/punchblock/event/unjoined.rb