Sha256: 41ccd58afa611f6228810d586298a20308e7c2c73f07b5daecdb5ed54448d61f

Contents?: true

Size: 481 Bytes

Versions: 3

Compression:

Stored size: 481 Bytes

Contents

module Journeta
   
   class PresenceMessage
      
      attr_accessor :version
      attr_accessor :uuid
      attr_accessor :peer_port
      
      # An Array of strings. May be empty but not nil. Ex: ['quick_chat', 'Preston Demo 1']
      attr_accessor :groups
      
      def initialize(uuid, peer_port, groups = [])
         @version = Journeta::VERSION::STRING
         @uuid = uuid
         @peer_port = peer_port
         @groups = groups
      end
      
   end
   
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
journeta-0.0.3 lib/journeta/presence_message.rb
journeta-0.0.5 lib/journeta/presence_message.rb
journeta-0.0.4 lib/journeta/presence_message.rb