Class: Messenger::Parameters::Delivery

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Callback

#type

Constructor Details

#initialize(mids: nil, watermark:, seq:) ⇒ Delivery

Returns a new instance of Delivery.



8
9
10
11
12
# File 'lib/messenger/parameters/delivery.rb', line 8

def initialize(mids: nil, watermark:, seq:)
  @mids      = mids
  @watermark = watermark
  @seq       = seq
end

Instance Attribute Details

#midsObject

Returns the value of attribute mids.



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

def mids
  @mids
end

#seqObject

Returns the value of attribute seq.



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

def seq
  @seq
end

#watermarkObject

Returns the value of attribute watermark.



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

def watermark
  @watermark
end