Class: RubyPushNotifications::WNS::WNSResult

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

Overview

Class that encapsulates the result of a single sent notification to a single Device URL msdn.microsoft.com/en-us/library/windows/apps/hh465435.aspx#WNSResponseCodes

Constant Summary collapse

X_NOTIFICATION_STATUS =
'x-wns-notificationstatus'
X_DEVICE_CONNECTION_STATUS =
'x-wns-deviceconnectionstatus'
X_STATUS =
'x-wns-status'

Instance Attribute Summary collapse

Instance Attribute Details

#device_urlString

Returns . Receiver WNS device URL.

Returns:

  • (String)

    . Receiver WNS device URL.



8
9
10
# File 'lib/ruby-push-notifications/wns/wns_result.rb', line 8

def device_url
  @device_url
end