Class: PushToSNS::AndroidPushNotification

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

Instance Method Summary collapse

Methods inherited from BasicPushNotification

#initialize

Constructor Details

This class inherits a constructor from PushToSNS::BasicPushNotification

Instance Method Details

#messageObject



3
4
5
# File 'lib/push_to_sns/android_push_notification.rb', line 3

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