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