class Apnotic::MdmNotification

Attributes

push_magic[R]

Public Class Methods

new(push_magic:, token:) click to toggle source
Calls superclass method Apnotic::AbstractNotification::new
# File lib/apnotic/mdm_notification.rb, line 8
def initialize(push_magic:, token:)
  super(token)
  @push_magic = push_magic
end

Private Instance Methods

to_hash() click to toggle source
# File lib/apnotic/mdm_notification.rb, line 15
def to_hash
  { mdm: push_magic }
end