Class: Apnotic::MdmNotification

Inherits:
AbstractNotification show all
Defined in:
lib/apnotic/mdm_notification.rb

Instance Attribute Summary collapse

Attributes inherited from AbstractNotification

#apns_collapse_id, #apns_id, #authorization, #expiration, #priority, #push_type, #token, #topic

Instance Method Summary collapse

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_magicObject (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