Class: RubyPushNotifications::WNS::WNSAuthError

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

Overview

Sending this notification is unauthorized.

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) ⇒ WNSAuthError

Returns a new instance of WNSAuthError.



64
65
66
# File 'lib/ruby-push-notifications/wns/wns_result.rb', line 64

def initialize(device_url)
  @device_url = device_url
end

Instance Method Details

#==(other) ⇒ Object



68
69
70
71
# File 'lib/ruby-push-notifications/wns/wns_result.rb', line 68

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