Class: AdCenterWrapper::IAdministrationService

Inherits:
SOAP::RPC::Driver
  • Object
show all
Defined in:
lib/AdministrationServiceDriver.rb

Constant Summary collapse

DefaultEndpointUrl =
"https://adcenterapi.microsoft.com/Api/Advertiser/V8/Administration/AdministrationService.svc"
Methods =
[
  [ "GetAssignedQuota",
    "getAssignedQuota",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v8", "GetAssignedQuotaRequest"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v8", "GetAssignedQuotaResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/v8", :namespace=>nil, :name=>"AdApiFaultDetailFault"}} }
  ],
  [ "GetRemainingQuota",
    "getRemainingQuota",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v8", "GetRemainingQuotaRequest"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v8", "GetRemainingQuotaResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/v8", :namespace=>nil, :name=>"AdApiFaultDetailFault"}} }
  ]
]

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_url = nil) ⇒ IAdministrationService

Returns a new instance of IAdministrationService.



29
30
31
32
33
34
35
# File 'lib/AdministrationServiceDriver.rb', line 29

def initialize(endpoint_url = nil)
  endpoint_url ||= DefaultEndpointUrl
  super(endpoint_url, nil)
  self.mapping_registry = AdministrationServiceMappingRegistry::EncodedRegistry
  self.literal_mapping_registry = AdministrationServiceMappingRegistry::LiteralRegistry
  init_methods
end