Class: YSM::UpgradeService::UpgradeService

Inherits:
SOAP::RPC::Driver show all
Defined in:
lib/ysm4r/v1/UpgradeServiceDriver.rb,
lib/ysm4r/v2/UpgradeServiceDriver.rb,
lib/ysm4r/v1/sandbox/UpgradeServiceDriver.rb,
lib/ysm4r/v2/sandbox/UpgradeServiceDriver.rb

Constant Summary collapse

DefaultEndpointUrl =
"https://sandbox.marketing.ews.yahooapis.com/services/V2/UpgradeService"
Methods =
[
  [ "",
    "getMasterAccountLocationForUpgradePreview",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getMasterAccountLocationForUpgradePreview"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getMasterAccountLocationForUpgradePreviewResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"YSM::UpgradeService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V2", :use=>"literal"}} }
  ],
  [ "",
    "getAccountsForUpgradePreview",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getAccountsForUpgradePreview"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getAccountsForUpgradePreviewResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"YSM::UpgradeService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V2", :use=>"literal"}} }
  ]
]

Instance Method Summary collapse

Methods inherited from SOAP::RPC::Driver

#prepare

Constructor Details

#initialize(endpoint_url = nil) ⇒ UpgradeService

Returns a new instance of UpgradeService.



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

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