Class: RubyPushNotifications::MPNS::MPNSResult

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby-push-notifications/mpns/mpns_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/ff941100%28v=vs.105%29.aspx)

Constant Summary collapse

X_NOTIFICATION_STATUS =
'x-notificationstatus'
X_DEVICE_CONNECTION_STATUS =
'x-deviceconnectionstatus'
X_SUBSCRIPTION_STATUS =
'x-subscriptionstatus'

Instance Attribute Summary collapse

Instance Attribute Details

#device_urlString

Returns . Receiver MPNS device URL.

Returns:

  • (String)

    . Receiver MPNS device URL.



9
10
11
# File 'lib/ruby-push-notifications/mpns/mpns_result.rb', line 9

def device_url
  @device_url
end