Class: MessageQuickly::Messaging::DeliveryEvent

Inherits:
Event
  • Object
show all
Defined in:
lib/message_quickly/messaging/delivery_event.rb

Instance Attribute Summary collapse

Attributes inherited from Event

#entry, #recipient, #sender, #timestamp

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ DeliveryEvent

Returns a new instance of DeliveryEvent.



9
10
11
12
# File 'lib/message_quickly/messaging/delivery_event.rb', line 9

def initialize(params = {})
  initialize_params(params['delivery'])
  super(params)
end

Instance Attribute Details

#midsObject (readonly)

Returns the value of attribute mids.



7
8
9
# File 'lib/message_quickly/messaging/delivery_event.rb', line 7

def mids
  @mids
end

#seqObject (readonly)

Returns the value of attribute seq.



7
8
9
# File 'lib/message_quickly/messaging/delivery_event.rb', line 7

def seq
  @seq
end

#watermarkObject (readonly)

Returns the value of attribute watermark.



7
8
9
# File 'lib/message_quickly/messaging/delivery_event.rb', line 7

def watermark
  @watermark
end

Instance Method Details

#webhook_nameObject



14
15
16
# File 'lib/message_quickly/messaging/delivery_event.rb', line 14

def webhook_name
  :message_deliveries
end