lib/google/cloud/dialogflow/v2/conversations/rest/service_stub.rb in google-cloud-dialogflow-v2-0.24.0 vs lib/google/cloud/dialogflow/v2/conversations/rest/service_stub.rb in google-cloud-dialogflow-v2-0.25.0

- old
+ new

@@ -57,11 +57,11 @@ def create_conversation request_pb, options = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_create_conversation_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 list_conversations request_pb, options = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_list_conversations_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 get_conversation request_pb, options = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_get_conversation_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,11 +171,11 @@ def complete_conversation request_pb, options = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_complete_conversation_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( @@ -209,11 +209,11 @@ def list_messages request_pb, options = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_list_messages_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( @@ -247,11 +247,11 @@ def suggest_conversation_summary request_pb, options = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_suggest_conversation_summary_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( @@ -285,10 +285,10 @@ def generate_stateless_summary request_pb, options = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_generate_stateless_summary_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(