Class: Valkey::Glide::PubSub::Message Private
- Inherits:
-
Struct
- Object
- Struct
- Valkey::Glide::PubSub::Message
- Defined in:
- lib/valkey/glide/pubsub.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
One delivered push: the incoming message, the channel that carried
it, and the pattern that matched it. pattern is set only for
PMESSAGE; exact and sharded pushes leave it nil.
Instance Attribute Summary collapse
-
#channel ⇒ Object
Returns the value of attribute channel.
-
#message ⇒ Object
Returns the value of attribute message.
-
#pattern ⇒ Object
Returns the value of attribute pattern.
Instance Attribute Details
#channel ⇒ Object
Returns the value of attribute channel
62 63 64 |
# File 'lib/valkey/glide/pubsub.rb', line 62 def channel @channel end |
#message ⇒ Object
Returns the value of attribute message
62 63 64 |
# File 'lib/valkey/glide/pubsub.rb', line 62 def end |
#pattern ⇒ Object
Returns the value of attribute pattern
62 63 64 |
# File 'lib/valkey/glide/pubsub.rb', line 62 def pattern @pattern end |