Class: WSocketIO::HistoryResult
- Inherits:
-
Struct
- Object
- Struct
- WSocketIO::HistoryResult
- Defined in:
- lib/wsocket_io.rb
Instance Attribute Summary collapse
-
#channel ⇒ Object
Returns the value of attribute channel.
-
#has_more ⇒ Object
Returns the value of attribute has_more.
-
#messages ⇒ Object
Returns the value of attribute messages.
Instance Method Summary collapse
-
#initialize(channel: '', messages: [], has_more: false) ⇒ HistoryResult
constructor
A new instance of HistoryResult.
Constructor Details
#initialize(channel: '', messages: [], has_more: false) ⇒ HistoryResult
Returns a new instance of HistoryResult.
37 38 39 |
# File 'lib/wsocket_io.rb', line 37 def initialize(channel: '', messages: [], has_more: false) super end |
Instance Attribute Details
#channel ⇒ Object
Returns the value of attribute channel
36 37 38 |
# File 'lib/wsocket_io.rb', line 36 def channel @channel end |
#has_more ⇒ Object
Returns the value of attribute has_more
36 37 38 |
# File 'lib/wsocket_io.rb', line 36 def has_more @has_more end |
#messages ⇒ Object
Returns the value of attribute messages
36 37 38 |
# File 'lib/wsocket_io.rb', line 36 def @messages end |