aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/bin/apis
diff options
context:
space:
mode:
Diffstat (limited to 'src/ruby/bin/apis')
-rwxr-xr-xsrc/ruby/bin/apis/pubsub_demo.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ruby/bin/apis/pubsub_demo.rb b/src/ruby/bin/apis/pubsub_demo.rb
index a039d036ac..003e91a6b3 100755
--- a/src/ruby/bin/apis/pubsub_demo.rb
+++ b/src/ruby/bin/apis/pubsub_demo.rb
@@ -66,7 +66,7 @@ end
# creates a SSL Credentials from the production certificates.
def ssl_creds
- GRPC::Core::Credentials.new(load_prod_cert)
+ GRPC::Core::ChannelCredentials.new(load_prod_cert)
end
# Builds the metadata authentication update proc.