Class: FirebaseCloudMessenger::Apns::Alert

Inherits:
ApnsObject show all
Defined in:
lib/firebase_cloud_messenger/apns/alert.rb

Constant Summary collapse

FIELDS =
%i(title body title_loc_key title_loc_args action_loc_key loc_key loc_args launch_image).freeze

Instance Method Summary collapse

Methods inherited from ApnsObject

#to_h

Methods inherited from FirebaseObject

#to_h

Constructor Details

#initialize(data) ⇒ Alert

Returns a new instance of Alert.



7
8
9
# File 'lib/firebase_cloud_messenger/apns/alert.rb', line 7

def initialize(data)
  super(data, FIELDS)
end