Class: YSM::ForecastService::ForecastService
- Inherits:
-
SOAP::RPC::Driver
- Object
- SOAP::RPC::Driver
- YSM::ForecastService::ForecastService
- Defined in:
- lib/ysm4r/v1/ForecastServiceDriver.rb,
lib/ysm4r/v2/ForecastServiceDriver.rb
Constant Summary collapse
- DefaultEndpointUrl =
"https://USE_ADDRESS_RETURNED_BY_LOCATION_SERVICE/services/V2/ForecastService"
- Methods =
[ [ "", "getForecastByAdGroup", [ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getForecastByAdGroup"]], ["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getForecastByAdGroupResponse"]] ], { :request_style => :document, :request_use => :literal, :response_style => :document, :response_use => :literal, :faults => {"YSM::ForecastService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V2", :use=>"literal"}} } ], [ "", "getForecastForKeyword", [ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getForecastForKeyword"]], ["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getForecastForKeywordResponse"]] ], { :request_style => :document, :request_use => :literal, :response_style => :document, :response_use => :literal, :faults => {"YSM::ForecastService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V2", :use=>"literal"}} } ], [ "", "getForecastForKeywords", [ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getForecastForKeywords"]], ["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getForecastForKeywordsResponse"]] ], { :request_style => :document, :request_use => :literal, :response_style => :document, :response_use => :literal, :faults => {"YSM::ForecastService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V2", :use=>"literal"}} } ] ]
Instance Method Summary collapse
-
#initialize(endpoint_url = nil) ⇒ ForecastService
constructor
A new instance of ForecastService.
Methods inherited from SOAP::RPC::Driver
Constructor Details
#initialize(endpoint_url = nil) ⇒ ForecastService
Returns a new instance of ForecastService.
37 38 39 40 41 42 43 |
# File 'lib/ysm4r/v1/ForecastServiceDriver.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 |