summaryrefslogtreecommitdiff
path: root/plugins/phonegap-plugin-push/example/server/pushGCM.rb
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/phonegap-plugin-push/example/server/pushGCM.rb')
-rw-r--r--plugins/phonegap-plugin-push/example/server/pushGCM.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/phonegap-plugin-push/example/server/pushGCM.rb b/plugins/phonegap-plugin-push/example/server/pushGCM.rb
deleted file mode 100644
index e1efce5e..00000000
--- a/plugins/phonegap-plugin-push/example/server/pushGCM.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-require 'rubygems'
-require 'pushmeup'
-GCM.host = 'https://android.googleapis.com/gcm/send'
-GCM.format = :json
-GCM.key = "API_KEY_GOES_HERE"
-destination = ["REGISTRATION_ID_GOES_HERE"]
-data = {:message => "PhoneGap Build rocks!", :msgcnt => "1", :soundname => "beep.wav"}
-
-GCM.send_notification( destination, data)