Class: YSM::KeywordResearchService::KeywordResearchService

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

Constant Summary collapse

DefaultEndpointUrl =
"https://USE_ADDRESS_RETURNED_BY_LOCATION_SERVICE/services/V2/KeywordResearchService"
Methods =
[
  [ "",
    "getPageRelatedKeywords",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getPageRelatedKeywords"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getPageRelatedKeywordsResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"YSM::KeywordResearchService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V2", :use=>"literal"}} }
  ],
  [ "",
    "getCanonicalKeywords",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getCanonicalKeywords"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getCanonicalKeywordsResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"YSM::KeywordResearchService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V2", :use=>"literal"}} }
  ],
  [ "",
    "getCommonKeywords",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getCommonKeywords"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getCommonKeywordsResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"YSM::KeywordResearchService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V2", :use=>"literal"}} }
  ],
  [ "",
    "getRelatedKeywords",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getRelatedKeywords"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getRelatedKeywordsResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"YSM::KeywordResearchService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V2", :use=>"literal"}} }
  ],
  [ "",
    "getRangeDefinitions",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getRangeDefinitions"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getRangeDefinitionsResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"YSM::KeywordResearchService::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) ⇒ KeywordResearchService

Returns a new instance of KeywordResearchService.



37
38
39
40
41
42
43
# File 'lib/ysm4r/v1/KeywordResearchServiceDriver.rb', line 37

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