Class: YSM::CompanyService::CompanyService

Inherits:
SOAP::RPC::Driver show all
Defined in:
lib/ysm4r/v2/CompanyServiceDriver.rb

Constant Summary collapse

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

Returns a new instance of CompanyService.



21
22
23
24
25
26
27
# File 'lib/ysm4r/v2/CompanyServiceDriver.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