Class: YSM::BasicReportService::BasicReportService

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

Constant Summary collapse

DefaultEndpointUrl =
"https://USE_ADDRESS_RETURNED_BY_LOCATION_SERVICE/services/V2/BasicReportService"
Methods =
[
  [ "",
    "getReportOutputUrl",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getReportOutputUrl"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getReportOutputUrlResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"YSM::BasicReportService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V2", :use=>"literal"}} }
  ],
  [ "",
    "addReportRequestWithAccountAggregation",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "addReportRequestWithAccountAggregation"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "addReportRequestWithAccountAggregationResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"YSM::BasicReportService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V2", :use=>"literal"}} }
  ],
  [ "",
    "addReportRequestForAccountID",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "addReportRequestForAccountID"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "addReportRequestForAccountIDResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"YSM::BasicReportService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V2", :use=>"literal"}} }
  ],
  [ "",
    "deleteReports",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "deleteReports"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "deleteReportsResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"YSM::BasicReportService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V2", :use=>"literal"}} }
  ],
  [ "",
    "deleteReport",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "deleteReport"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "deleteReportResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"YSM::BasicReportService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V2", :use=>"literal"}} }
  ],
  [ "",
    "getReportList",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getReportList"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getReportListResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"YSM::BasicReportService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V2", :use=>"literal"}} }
  ],
  [ "",
    "getReportOutputUrls",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getReportOutputUrls"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getReportOutputUrlsResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"YSM::BasicReportService::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) ⇒ BasicReportService

Returns a new instance of BasicReportService.



69
70
71
72
73
74
75
# File 'lib/ysm4r/v1/BasicReportServiceDriver.rb', line 69

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