Class: RubyPushNotifications::MPNS::MPNSResultError
- Inherits:
-
MPNSResult
- Object
- MPNSResult
- RubyPushNotifications::MPNS::MPNSResultError
- Defined in:
- lib/ruby-push-notifications/mpns/mpns_result.rb
Overview
Unknow Error
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) ⇒ MPNSResultError
constructor
A new instance of MPNSResultError.
Constructor Details
#initialize(device_url) ⇒ MPNSResultError
Returns a new instance of MPNSResultError.
172 173 174 |
# File 'lib/ruby-push-notifications/mpns/mpns_result.rb', line 172 def initialize(device_url) @device_url = device_url end |
Instance Method Details
#==(other) ⇒ Object
176 177 178 179 |
# File 'lib/ruby-push-notifications/mpns/mpns_result.rb', line 176 def ==(other) (other.is_a?(MPNSResultError) && device_url == other.device_url) || super(other) end |