Class: Messenger::Parameters::Read
- Inherits:
-
Object
- Object
- Messenger::Parameters::Read
- Includes:
- Callback
- Defined in:
- lib/messenger/parameters/read.rb
Instance Attribute Summary collapse
-
#seq ⇒ Object
Returns the value of attribute seq.
-
#watermark ⇒ Object
Returns the value of attribute watermark.
Instance Method Summary collapse
-
#initialize(watermark:, seq:) ⇒ Read
constructor
A new instance of Read.
Methods included from Callback
Constructor Details
#initialize(watermark:, seq:) ⇒ Read
Returns a new instance of Read.
8 9 10 11 |
# File 'lib/messenger/parameters/read.rb', line 8 def initialize(watermark:, seq:) @watermark = watermark @seq = seq end |
Instance Attribute Details
#seq ⇒ Object
Returns the value of attribute seq.
6 7 8 |
# File 'lib/messenger/parameters/read.rb', line 6 def seq @seq end |
#watermark ⇒ Object
Returns the value of attribute watermark.
6 7 8 |
# File 'lib/messenger/parameters/read.rb', line 6 def watermark @watermark end |