Class: RubyPushNotifications::WNS::WNSInternalError

Inherits:
WNSResult
  • Object
show all
Defined in:
lib/ruby-push-notifications/wns/wns_result.rb

Overview

The Push Notification Service is unable to process the request.

Constant Summary

Constants inherited from WNSResult

RubyPushNotifications::WNS::WNSResult::X_DEVICE_CONNECTION_STATUS, RubyPushNotifications::WNS::WNSResult::X_NOTIFICATION_STATUS, RubyPushNotifications::WNS::WNSResult::X_STATUS

Instance Attribute Summary

Attributes inherited from WNSResult

#device_url

Instance Method Summary collapse

Constructor Details

#initialize(device_url) ⇒ WNSInternalError

Returns a new instance of WNSInternalError.



186
187
188
# File 'lib/ruby-push-notifications/wns/wns_result.rb', line 186

def initialize(device_url)
  @device_url = device_url
end

Instance Method Details

#==(other) ⇒ Object



190
191
192
193
# File 'lib/ruby-push-notifications/wns/wns_result.rb', line 190

def ==(other)
  (other.is_a?(WNSInternalError) &&
    device_url == other.device_url) || super(other)
end