Class: RubyPushNotifications::MPNS::MPNSInternalError
- Inherits:
-
MPNSResult
- Object
- MPNSResult
- RubyPushNotifications::MPNS::MPNSInternalError
- Defined in:
- lib/ruby-push-notifications/mpns/mpns_result.rb
Overview
The Push Notification Service is unable to process the request.
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) ⇒ MPNSInternalError
constructor
A new instance of MPNSInternalError.
Constructor Details
#initialize(device_url) ⇒ MPNSInternalError
Returns a new instance of MPNSInternalError.
160 161 162 |
# File 'lib/ruby-push-notifications/mpns/mpns_result.rb', line 160 def initialize(device_url) @device_url = device_url end |
Instance Method Details
#==(other) ⇒ Object
164 165 166 167 |
# File 'lib/ruby-push-notifications/mpns/mpns_result.rb', line 164 def ==(other) (other.is_a?(MPNSInternalError) && device_url == other.device_url) || super(other) end |