Sha256: 6995a30ac081bd4c278426af2bcc8d64d3da5c5353fcc458b563f1cdc6209898

Contents?: true

Size: 794 Bytes

Versions: 2

Compression:

Stored size: 794 Bytes

Contents

# encoding: utf-8

module Punchblock
  class Event
    class Joined < Event
      register :joined, :core

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

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

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

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

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