class RubyPushNotifications::GCM::GCMResultError
An error occurred sending the notification to the registration ID.
Attributes
error[RW]
@return [String]. The error sent by GCM
Public Class Methods
new(error)
click to toggle source
# File lib/ruby-push-notifications/gcm/gcm_result.rb, line 43 def initialize(error) @error = error end
Public Instance Methods
==(other)
click to toggle source
Calls superclass method
# File lib/ruby-push-notifications/gcm/gcm_result.rb, line 47 def ==(other) (other.is_a?(GCMResultError) && @error == other.error) || super(other) end