class RailsPushNotifications::GCMApp
This class represents an Android GCM application.
@author Carlos Alonso
Private Instance Methods
build_pusher()
click to toggle source
@return [RubyPushNotifications::GCM::GCMPusher] configured and
ready to push
# File lib/rails-push-notifications/apps/gcm_app.rb, line 17 def build_pusher RubyPushNotifications::GCM::GCMPusher.new gcm_key end
notification_type()
click to toggle source
@return [RubyPushNotifications::GCM::GCMNotification]. The type of
notifications this app manages
# File lib/rails-push-notifications/apps/gcm_app.rb, line 23 def notification_type RubyPushNotifications::GCM::GCMNotification end