Class: AdCenterWrapper::INotificationService
- Inherits:
-
SOAP::RPC::Driver
- Object
- SOAP::RPC::Driver
- AdCenterWrapper::INotificationService
- Defined in:
- lib/NotificationServiceDriver.rb
Constant Summary collapse
- DefaultEndpointUrl =
"https://sharedservices.adcenterapi.microsoft.com/Api/Notification/v8/NotificationService.svc"
- Methods =
[ [ "GetNotifications", "getNotifications", [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/notifications", "GetNotificationsRequest"]], ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/notifications/Entities", "GetNotificationsResponse"]] ], { :request_style => :document, :request_use => :literal, :response_style => :document, :response_use => :literal, :faults => {"AdCenterWrapper::ApiFaultFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/notifications", :namespace=>nil, :name=>"ApiFaultFault"}, "AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/notifications", :namespace=>nil, :name=>"AdApiFaultDetailFault"}} } ], [ "GetArchivedNotifications", "getArchivedNotifications", [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/notifications", "GetArchivedNotificationsRequest"]], ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/notifications/Entities", "GetArchivedNotificationsResponse"]] ], { :request_style => :document, :request_use => :literal, :response_style => :document, :response_use => :literal, :faults => {"AdCenterWrapper::ApiFaultFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/notifications", :namespace=>nil, :name=>"ApiFaultFault"}, "AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/notifications", :namespace=>nil, :name=>"AdApiFaultDetailFault"}} } ] ]
Instance Method Summary collapse
-
#initialize(endpoint_url = nil) ⇒ INotificationService
constructor
A new instance of INotificationService.
Constructor Details
permalink #initialize(endpoint_url = nil) ⇒ INotificationService
Returns a new instance of INotificationService.
29 30 31 32 33 34 35 |
# File 'lib/NotificationServiceDriver.rb', line 29 def initialize(endpoint_url = nil) endpoint_url ||= DefaultEndpointUrl super(endpoint_url, nil) self.mapping_registry = NotificationServiceMappingRegistry::EncodedRegistry self.literal_mapping_registry = NotificationServiceMappingRegistry::LiteralRegistry init_methods end |