Class: BingAdsApi::V8::NotificationService::NotificationService
- Inherits:
-
AdsCommonForBingAds::SavonService
- Object
- AdsCommon::SavonService
- AdsCommonForBingAds::SavonService
- BingAdsApi::V8::NotificationService::NotificationService
- Defined in:
- lib/bing_ads_api/v8/notification_service.rb
Instance Method Summary collapse
- #get_archived_notifications(*args, &block) ⇒ Object
- #get_notifications(*args, &block) ⇒ Object
-
#initialize(config, endpoint) ⇒ NotificationService
constructor
A new instance of NotificationService.
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 |