Class: YSM::LocationService::LocationService

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

Constant Summary collapse

DefaultEndpointUrl =
"https://sandbox.marketing.ews.yahooapis.com/services/V2/LocationService"
Methods =
[
  [ "",
    "getMasterAccountLocation",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getMasterAccountLocation"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getMasterAccountLocationResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"YSM::LocationService::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) ⇒ LocationService

Returns a new instance of LocationService.



21
22
23
24
25
26
27
# File 'lib/ysm4r/v1/LocationServiceDriver.rb', line 21

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