Class: Rpush::Client::Mongoid::Apns::Notification

Inherits:
Notification
  • Object
show all
Includes:
ActiveModel::Apns::Notification
Defined in:
lib/rpush/client/mongoid/apns/notification.rb

Constant Summary

Constants included from ActiveModel::Apns::Notification

ActiveModel::Apns::Notification::APNS_DEFAULT_EXPIRY, ActiveModel::Apns::Notification::APNS_PRIORITIES, ActiveModel::Apns::Notification::APNS_PRIORITY_CONSERVE_POWER, ActiveModel::Apns::Notification::APNS_PRIORITY_IMMEDIATE, ActiveModel::Apns::Notification::CONTENT_AVAILABLE_KEY, ActiveModel::Apns::Notification::MDM_KEY

Instance Method Summary collapse

Methods included from ActiveModel::Apns::Notification

#as_json, #content_available=, #device_token=, included, #mdm=

Methods included from ActiveModel::Notification

included, #payload, #payload_data_size

Methods included from MultiJsonHelper

#multi_json_dump, #multi_json_load

Instance Method Details

#to_binary(options = {}) ⇒ Object



8
9
10
# File 'lib/rpush/client/mongoid/apns/notification.rb', line 8

def to_binary(options = {})
  super(options.merge(id_attribute: :integer_id))
end