Class: AdCenterWrapper::Notification

Inherits:
Object
  • Object
show all
Defined in:
lib/NotificationService.rb

Overview

https://adcenter.microsoft.com/api/notifications/EntitiesNotification

notificationId - SOAP::SOAPLong
notificationDate - SOAP::SOAPDateTime
notificationType - (any)

Direct Known Subclasses

AccountNotification

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(notificationId = nil, notificationDate = nil, notificationType = nil) ⇒ Notification

Returns a new instance of Notification.

[View source]

19
20
21
22
23
# File 'lib/NotificationService.rb', line 19

def initialize(notificationId = nil, notificationDate = nil, notificationType = nil)
  @notificationId = notificationId
  @notificationDate = notificationDate
  @notificationType = notificationType
end

Instance Attribute Details

#notificationDateObject

Returns the value of attribute notificationDate.


16
17
18
# File 'lib/NotificationService.rb', line 16

def notificationDate
  @notificationDate
end

#notificationIdObject

Returns the value of attribute notificationId.


15
16
17
# File 'lib/NotificationService.rb', line 15

def notificationId
  @notificationId
end

#notificationTypeObject

Returns the value of attribute notificationType.


17
18
19
# File 'lib/NotificationService.rb', line 17

def notificationType
  @notificationType
end