Class: NotifyUser::Apns
- Inherits:
-
Object
- Object
- NotifyUser::Apns
- Defined in:
- app/models/notify_user/apns.rb
Direct Known Subclasses
Constant Summary collapse
- SYMBOL_NAMES_SIZE =
10- PAYLOAD_LIMIT =
255
Instance Method Summary collapse
-
#initialize(notification, options) ⇒ Apns
constructor
A new instance of Apns.
-
#push ⇒ Object
Sends push notification:.
Constructor Details
#initialize(notification, options) ⇒ Apns
6 7 8 9 |
# File 'app/models/notify_user/apns.rb', line 6 def initialize(notification, ) @notification = notification @options = end |
Instance Method Details
#push ⇒ Object
Sends push notification:
12 13 14 |
# File 'app/models/notify_user/apns.rb', line 12 def push raise "Base APNS class should not be used." end |