Class: Sem4r::ReportService
- Inherits:
-
Sem4rSoap::SoapServiceV13
- Object
- Sem4rSoap::SoapService
- Sem4rSoap::SoapServiceV13
- Sem4r::ReportService
- Defined in:
- lib/sem4r/v13_report/report_service.rb
Instance Method Summary collapse
- #download(url, path_name) ⇒ Object
-
#initialize(connector) ⇒ ReportService
constructor
A new instance of ReportService.
Methods inherited from Sem4rSoap::SoapServiceV13
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 |