Class: BingAdsApi::V8::NotificationService::NotificationService

Inherits:
AdsCommonForBingAds::SavonService show all
Defined in:
lib/bing_ads_api/v8/notification_service.rb

Instance Method Summary collapse

Constructor Details

#initialize(config, endpoint) ⇒ NotificationService

Returns a new instance of NotificationService.



15
16
17
18
# File 'lib/bing_ads_api/v8/notification_service.rb', line 15

def initialize(config, endpoint)
  namespace = 'https://adcenter.microsoft.com/api/notifications'
  super(config, endpoint, namespace, :v8)
end

Instance Method Details

#get_archived_notifications(*args, &block) ⇒ Object



24
25
26
# File 'lib/bing_ads_api/v8/notification_service.rb', line 24

def get_archived_notifications(*args, &block)
  return execute_action('get_archived_notifications', args, &block)
end

#get_notifications(*args, &block) ⇒ Object



20
21
22
# File 'lib/bing_ads_api/v8/notification_service.rb', line 20

def get_notifications(*args, &block)
  return execute_action('get_notifications', args, &block)
end