lib/google/cloud/location/locations/rest/service_stub.rb in google-cloud-location-0.3.beta.2 vs lib/google/cloud/location/locations/rest/service_stub.rb in google-cloud-location-0.3.beta.3
- old
+ new
@@ -32,10 +32,12 @@
def initialize endpoint:, credentials:
# These require statements are intentionally placed here to initialize
# the REST modules only when it's required.
require "gapic/rest"
- @client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint, credentials: credentials, numeric_enums: true
+ @client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint, credentials: credentials,
+ numeric_enums: true,
+ raise_faraday_errors: false
end
##
# Baseline implementation for the list_locations REST call
#