Class: WSocketIO::PresenceMember
- Inherits:
-
Struct
- Object
- Struct
- WSocketIO::PresenceMember
- Defined in:
- lib/wsocket_io.rb
Instance Attribute Summary collapse
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#data ⇒ Object
Returns the value of attribute data.
-
#joined_at ⇒ Object
Returns the value of attribute joined_at.
Instance Method Summary collapse
-
#initialize(client_id: '', data: nil, joined_at: 0) ⇒ PresenceMember
constructor
A new instance of PresenceMember.
Constructor Details
#initialize(client_id: '', data: nil, joined_at: 0) ⇒ PresenceMember
Returns a new instance of PresenceMember.
25 26 27 |
# File 'lib/wsocket_io.rb', line 25 def initialize(client_id: '', data: nil, joined_at: 0) super end |
Instance Attribute Details
#client_id ⇒ Object
Returns the value of attribute client_id
24 25 26 |
# File 'lib/wsocket_io.rb', line 24 def client_id @client_id end |
#data ⇒ Object
Returns the value of attribute data
24 25 26 |
# File 'lib/wsocket_io.rb', line 24 def data @data end |
#joined_at ⇒ Object
Returns the value of attribute joined_at
24 25 26 |
# File 'lib/wsocket_io.rb', line 24 def joined_at @joined_at end |