Class: RubyPushNotifications::WNS::WNSResultError

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

Overview

Unknow Error

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

Returns a new instance of WNSResultError.



198
199
200
# File 'lib/ruby-push-notifications/wns/wns_result.rb', line 198

def initialize(device_url)
  @device_url = device_url
end

Instance Method Details

#==(other) ⇒ Object



202
203
204
205
# File 'lib/ruby-push-notifications/wns/wns_result.rb', line 202

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