Class: Sem4r::ReportService

Inherits:
Sem4rSoap::SoapServiceV13 show all
Defined in:
lib/sem4r/v13_report/report_service.rb

Instance Method Summary collapse

Methods inherited from Sem4rSoap::SoapServiceV13

soap_call

Methods inherited from Sem4rSoap::SoapService

_soap_call, #build_soap_message, #helper_call, #helper_call_raw, #init

Constructor Details

#initialize(connector) ⇒ ReportService

Returns a new instance of ReportService.



31
32
33
34
35
36
37
38
39
# File 'lib/sem4r/v13_report/report_service.rb', line 31

def initialize(connector)
  super()
  @connector = connector
  @namespace = "https://adwords.google.com/api/adwords/v13"

  @sandbox_service_url    = "https://sandbox.google.com/api/adwords/v13/ReportService"
  @production_service_url = "https://adwords.google.com/api/adwords/v13/ReportService"
  # init(@header_namespace, @service_namespace)
end

Instance Method Details

#download(url, path_name) ⇒ Object



47
48
49
# File 'lib/sem4r/v13_report/report_service.rb', line 47

def download(url, path_name)
  @connector.download(url, path_name)
end