class RubyPushNotifications::WNS::MalformedWNSResultError

This error occurs when the cloud service sends a notification request with a bad XML document or malformed notification URI.

Public Class Methods

new(device_url) click to toggle source
# File lib/ruby-push-notifications/wns/wns_result.rb, line 52
def initialize(device_url)
  @device_url = device_url
end

Public Instance Methods

==(other) click to toggle source
Calls superclass method
# File lib/ruby-push-notifications/wns/wns_result.rb, line 56
def ==(other)
  (other.is_a?(MalformedWNSResultError) &&
    device_url == other.device_url) || super(other)
end