ads_common/lib/ads_common/savon_service.rb
def create_savon_client(endpoint, namespace)
      client = GoogleAdsSavon::Client.new do |wsdl, httpi|
        wsdl.endpoint = endpoint
        wsdl.namespace = namespace
        AdsCommon::Http.configure_httpi(@config, httpi)
      end
      client.config.raise_errors = false
      client.config.logger.subject = NoopLogger.new
      return client
    end
def create_savon_client(endpoint, namespace)
      client = GoogleAdsSavon::Client.new do |wsdl, httpi|
        wsdl.endpoint = endpoint
        wsdl.namespace = namespace
        AdsCommon::Http.configure_httpi(@config, httpi)
      end
      client.config.raise_errors = false
      client.config.logger.subject = NoopLogger.new
      return client
    end
def create_savon_client ( endpoint , namespace ) client = GoogleAdsSavon :: Client . new do | wsdl , httpi | wsdl . endpoint = endpoint wsdl . namespace = namespace AdsCommon :: Http . configure_httpi ( @config , httpi ) end client . config . raise_errors = false client . config . logger . subject = NoopLogger . new return client end
Creates and sets up Savon client.
Creates and sets up Savon client .