Sha256: 858e8e3981bc882e67c57bf1f6ce8b45bdaf8a2307ef1d01d1ac0580edb60dbf

Contents?: true

Size: 775 Bytes

Versions: 4

Compression:

Stored size: 775 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

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