Class: Messenger::Parameters::Read

Inherits:
Object
  • Object
show all
Includes:
Callback
Defined in:
lib/messenger/parameters/read.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Callback

#type

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

#seqObject

Returns the value of attribute seq.



6
7
8
# File 'lib/messenger/parameters/read.rb', line 6

def seq
  @seq
end

#watermarkObject

Returns the value of attribute watermark.



6
7
8
# File 'lib/messenger/parameters/read.rb', line 6

def watermark
  @watermark
end