aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/bin/apis
diff options
context:
space:
mode:
authorGravatar Tim Emiola <temiola@google.com>2015-10-28 00:17:14 -0700
committerGravatar Tim Emiola <temiola@google.com>2015-10-28 00:17:14 -0700
commit43a7e4e6ed33e1341394afdbe52ed00cdbe4b311 (patch)
tree53d9024f21fd1308d2fa9302c3715793e54376ff /src/ruby/bin/apis
parent9332ea6af55265b7f95fd6ca1a4197e852b926eb (diff)
Ruby wrapping of core credentials API change.
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.