lib/sem4r/v13_report/report_service.rb in sem4r-0.1.2 vs lib/sem4r/v13_report/report_service.rb in sem4r-0.1.3
- old
+ new
@@ -20,28 +20,30 @@
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# -------------------------------------------------------------------
module Sem4r
- class ReportService
- include SoapCall
+ #
+ # @private
+ #
+ class ReportService < Sem4rSoap::SoapServiceV13
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
- soap_call_v13 :all, :mutate => false
- soap_call_v13 :validate, :mutate => false
- soap_call_v13 :schedule, :mutate => false
- soap_call_v13 :status, :mutate => false
- soap_call_v13 :url, :mutate => false
-
- ################
+ soap_call :all, :mutate => false
+ soap_call :validate, :mutate => false
+ soap_call :schedule, :mutate => false
+ soap_call :status, :mutate => false
+ soap_call :url, :mutate => false
def download(url, path_name)
@connector.download(url, path_name)
end