Class: RubyPushNotifications::MPNS::MPNSAuthError
- Inherits:
-
MPNSResult
- Object
- MPNSResult
- RubyPushNotifications::MPNS::MPNSAuthError
- Defined in:
- lib/ruby-push-notifications/mpns/mpns_result.rb
Overview
Sending this notification is unauthorized.
Constant Summary
Constants inherited from MPNSResult
RubyPushNotifications::MPNS::MPNSResult::X_DEVICE_CONNECTION_STATUS, RubyPushNotifications::MPNS::MPNSResult::X_NOTIFICATION_STATUS, RubyPushNotifications::MPNS::MPNSResult::X_SUBSCRIPTION_STATUS
Instance Attribute Summary
Attributes inherited from MPNSResult
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(device_url) ⇒ MPNSAuthError
constructor
A new instance of MPNSAuthError.
Constructor Details
#initialize(device_url) ⇒ MPNSAuthError
Returns a new instance of MPNSAuthError.
66 67 68 |
# File 'lib/ruby-push-notifications/mpns/mpns_result.rb', line 66 def initialize(device_url) @device_url = device_url end |
Instance Method Details
#==(other) ⇒ Object
70 71 72 73 |
# File 'lib/ruby-push-notifications/mpns/mpns_result.rb', line 70 def ==(other) (other.is_a?(MPNSAuthError) && device_url == other.device_url) || super(other) end |