lib/google/ads/googleads/v0/services/customer_service_client.rb in google-ads-googleads-0.1.0 vs lib/google/ads/googleads/v0/services/customer_service_client.rb in google-ads-googleads-0.2.0

- old
+ new

@@ -23,11 +23,11 @@ require "pathname" require "google/gax" require "google/ads/googleads/v0/services/customer_service_pb" -require "google/ads/googleads/v0/services/credentials" +require "google/ads/googleads/credentials" module Google module Ads module Googleads module V0 @@ -110,13 +110,13 @@ # the gRPC module only when it's required. # See https://github.com/googleapis/toolkit/issues/446 require "google/gax/grpc" require "google/ads/googleads/v0/services/customer_service_services_pb" - credentials ||= Google::Ads::Googleads::V0::Services::Credentials.default + credentials ||= Google::Ads::Googleads::Credentials.default if credentials.is_a?(String) || credentials.is_a?(Hash) - updater_proc = Google::Ads::Googleads::V0::Services::Credentials.new(credentials).updater_proc + updater_proc = Google::Ads::Googleads::Credentials.new(credentials).updater_proc end if credentials.is_a?(GRPC::Core::Channel) channel = credentials end if credentials.is_a?(GRPC::Core::ChannelCredentials)