lib/sem4r/v13_account/account_service.rb in sem4r-0.1.2 vs lib/sem4r/v13_account/account_service.rb in sem4r-0.1.3

- old
+ new

@@ -1,5 +1,6 @@ +# -*- coding: utf-8 -*- # ------------------------------------------------------------------- # Copyright (c) 2009-2010 Sem4r sem4ruby@gmail.com # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -20,20 +21,25 @@ # 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 AccountService - include SoapCall + # + # @private + # + class AccountService < Sem4rSoap::SoapServiceV13 + def initialize(connector) + super() @connector = connector @sandbox_service_url = "https://sandbox.google.com/api/adwords/v13/AccountService" @production_service_url = "https://adwords.google.com/api/adwords/v13/AccountService" + # init(@header_namespace, @service_namespace) end - soap_call_v13 :account_info, :mutate => false - soap_call_v13 :client_accounts, :mutate => false + soap_call :account_info, :mutate => false + soap_call :client_accounts, :mutate => false private def _account_info <<-EOFS