Class: Rpush::Client::Redis::Webpush::Notification

Inherits:
Notification
  • Object
show all
Includes:
ActiveModel::Webpush::Notification
Defined in:
lib/rpush/client/redis/webpush/notification.rb

Instance Method Summary collapse

Methods included from ActiveModel::Webpush::Notification

#as_json, #data=, included, #message, #subscription, #urgency

Methods inherited from Notification

absolute_pending_namespace, absolute_retryable_namespace, #app, #app=

Methods included from ActiveModel::Notification

included, #payload, #payload_data_size

Methods included from MultiJsonHelper

#multi_json_dump, #multi_json_load

Instance Method Details

#time_to_live=(value) ⇒ Object



8
9
10
# File 'lib/rpush/client/redis/webpush/notification.rb', line 8

def time_to_live=(value)
  self.expiry = value
end