Class: PushToSNS::AndroidPushNotification

Inherits:
BasicPushNotification show all
Defined in:
lib/push_to_sns/android_push_notification.rb

Constant Summary collapse

DEFAULT_MESSAGE =
"Android Push Notification"

Instance Method Summary collapse

Methods inherited from BasicPushNotification

#initialize

Constructor Details

This class inherits a constructor from PushToSNS::BasicPushNotification

Instance Method Details

#messageObject



5
6
7
# File 'lib/push_to_sns/android_push_notification.rb', line 5

def message
  { GCM: { data: default_payload.deeper_merge(payload) }.to_json }
end