Class: Rpush::Client::Redis::Pushy::Notification

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

Instance Method Summary collapse

Methods included from ActiveModel::Pushy::Notification

#as_json, included

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



10
11
12
# File 'lib/rpush/client/redis/pushy/notification.rb', line 10

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