lib/google/cloud/ids/v1/ids/rest/service_stub.rb in google-cloud-ids-v1-0.3.0 vs lib/google/cloud/ids/v1/ids/rest/service_stub.rb in google-cloud-ids-v1-0.4.0

- old
+ new

@@ -57,11 +57,11 @@ def list_endpoints request_pb, options = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_list_endpoints_request request_pb query_string_params = if query_string_params.any? - query_string_params.to_h { |p| p.split("=", 2) } + query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( @@ -95,11 +95,11 @@ def get_endpoint request_pb, options = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_get_endpoint_request request_pb query_string_params = if query_string_params.any? - query_string_params.to_h { |p| p.split("=", 2) } + query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( @@ -133,11 +133,11 @@ def create_endpoint request_pb, options = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_create_endpoint_request request_pb query_string_params = if query_string_params.any? - query_string_params.to_h { |p| p.split("=", 2) } + query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( @@ -171,10 +171,10 @@ def delete_endpoint request_pb, options = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_delete_endpoint_request request_pb query_string_params = if query_string_params.any? - query_string_params.to_h { |p| p.split("=", 2) } + query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request(