Class: Apnotic::MdmNotification
- Inherits:
-
AbstractNotification
- Object
- AbstractNotification
- Apnotic::MdmNotification
- Defined in:
- lib/apnotic/mdm_notification.rb
Instance Attribute Summary collapse
-
#push_magic ⇒ Object
readonly
Returns the value of attribute push_magic.
Attributes inherited from AbstractNotification
#apns_collapse_id, #apns_id, #authorization, #expiration, #priority, #push_type, #token, #topic
Instance Method Summary collapse
-
#initialize(push_magic:, token:) ⇒ MdmNotification
constructor
A new instance of MdmNotification.
Methods inherited from AbstractNotification
#authorization_header, #background_notification?, #body
Constructor Details
#initialize(push_magic:, token:) ⇒ MdmNotification
Returns a new instance of MdmNotification.
8 9 10 11 |
# File 'lib/apnotic/mdm_notification.rb', line 8 def initialize(push_magic:, token:) super(token) @push_magic = push_magic end |
Instance Attribute Details
#push_magic ⇒ Object (readonly)
Returns the value of attribute push_magic.
6 7 8 |
# File 'lib/apnotic/mdm_notification.rb', line 6 def push_magic @push_magic end |